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!