I have {1*1} cell which contains a column matrix with 4455 rows how can i access data in each row?
1 次查看(过去 30 天)
显示 更早的评论
I have {1*1} cell which contains a column matrix with 4455 rows how can i access data in each row?
0 个评论
采纳的回答
Azzi Abdelmalek
2013-5-21
编辑:Azzi Abdelmalek
2013-5-21
A{1}{k}
Example
A={{10 20 30 40}}
A{1}{3} % The result is 30
2 个评论
Jan
2013-5-21
The OP has a matrix insie the cell. Then he needs round parenthesis as second indexing:
A = {rand(4455, 1)};
v = A{1}(256)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!