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

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....

 Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 10 Dez. 2012
Bearbeitet: Azzi Abdelmalek am 10 Dez. 2012
v=[1 2 3]
out=v(3)
You have to read the basis of Matlab

Weitere Antworten (0)

Kategorien

Mehr zu App Building finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by