MATLAB: How to read the value from an individual cell in a matrix

matrix

I have set of data in a 101 by 1 matrix, how would i read a value from an individual cell.

Best Answer

if u want to read from 'i'th cell,
data(i); % in ur case shud be suffice.
data(i,:); % gives data in ith row