how ro rename matrix
조회 수: 27 (최근 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!