how to access the matrix in matlab current folder
이전 댓글 표시
I am having 6x6 matrix, I want to use this in my path,want to access row by row when ever I want matrix in my another programme is it possible
댓글 수: 1
Azzi Abdelmalek
2015년 1월 12일
What do you mean by: I want to use this in my path ?
답변 (1개)
Azzi Abdelmalek
2015년 1월 12일
편집: Azzi Abdelmalek
2015년 1월 12일
For example
a=[1 2 3;4 5 6;7 8 9]
To acces any row
n=2 % second row
r=a(n,:)
카테고리
도움말 센터 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!