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

Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 12 Jan. 2015
Bearbeitet: Azzi Abdelmalek am 12 Jan. 2015
For example
a=[1 2 3;4 5 6;7 8 9]
To acces any row
n=2 % second row
r=a(n,:)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 12 Jan. 2015

Bearbeitet:

am 12 Jan. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by