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
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에 대해 자세히 알아보기

태그

질문:

2015년 1월 12일

편집:

2015년 1월 12일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by