I have {1*1} cell which contains a column matrix with 4455 rows how can i access data in each row?
2 views (last 30 days)
Show older comments
I have {1*1} cell which contains a column matrix with 4455 rows how can i access data in each row?
0 Comments
Accepted Answer
Azzi Abdelmalek
on 21 May 2013
Edited: Azzi Abdelmalek
on 21 May 2013
A{1}{k}
Example
A={{10 20 30 40}}
A{1}{3} % The result is 30
2 Comments
Jan
on 21 May 2013
The OP has a matrix insie the cell. Then he needs round parenthesis as second indexing:
A = {rand(4455, 1)};
v = A{1}(256)
More Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!