how ro rename matrix
26 次查看(过去 30 天)
显示 更早的评论
I have made a matrix
matrix1=[1:4;3:6]
matrix1 =
1 2 3 4
3 4 5 6
how can I rename it?
0 个评论
采纳的回答
Harry MacDowel
2011-10-17
newmatrixname = matrix1;
2 个评论
Jan
2011-10-17
@Tor: "clear matrix1". Please read the Getting Started chapters of the documentation. A powerful tool like MATLAB requires studying the docs urgently.
更多回答(1 个)
Grzegorz Knor
2011-10-17
You can also do it interactively from the Workspace Browser - mark the variable and click it again and then you could rename it.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!