Clear Filters
Clear Filters

How do I read the value from an individual cell in a matrix

3 views (last 30 days)
I have set of data in a 101 by 1 matrix, how would i read a value from an individual cell.

Accepted Answer

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

More Answers (0)


Find more on Data Types 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!