how to access the matrix in matlab current folder
Show older comments
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 Comment
Azzi Abdelmalek
on 12 Jan 2015
What do you mean by: I want to use this in my path ?
Answers (1)
Azzi Abdelmalek
on 12 Jan 2015
Edited: Azzi Abdelmalek
on 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,:)
Categories
Find more on Get Started with MATLAB 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!