how to get last column value of a particular variable in matfile
2 views (last 30 days)
Show older comments
I have a mat file with 4 variables, each variable contains 1 row and 3 column values.... i wanted to get only the last column value of third variable in a variable... how to get it....please do reply....
0 Comments
Accepted Answer
Azzi Abdelmalek
on 10 Dec 2012
Edited: Azzi Abdelmalek
on 10 Dec 2012
v=[1 2 3]
out=v(3)
You have to read the basis of Matlab
0 Comments
More Answers (0)
See Also
Categories
Find more on Workspace Variables and MAT-Files 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!