how ro rename matrix
22 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Harry MacDowel
on 17 Oct 2011
newmatrixname = matrix1;
2 Comments
Jan
on 17 Oct 2011
@Tor: "clear matrix1". Please read the Getting Started chapters of the documentation. A powerful tool like MATLAB requires studying the docs urgently.
More Answers (1)
Grzegorz Knor
on 17 Oct 2011
You can also do it interactively from the Workspace Browser - mark the variable and click it again and then you could rename it.
0 Comments
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!