MATLAB: How to get last column value of a particular variable in matfile

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

Best Answer

v=[1 2 3]
out=v(3)
You have to read the basis of Matlab