Clear Filters
Clear Filters

how to get last column value of a particular variable in matfile

2 views (last 30 days)
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....

Accepted Answer

Azzi Abdelmalek
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

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!