Info
この質問は閉じられています。 編集または回答するには再度開いてください。
What are the row and column subscripts needed to access the 167th element of the fourth cell
2 ビュー (過去 30 日間)
古いコメントを表示
the value shows up in vectors.
0 件のコメント
回答 (1 件)
dpb
2017 年 9 月 1 日
All depends on what the array dimensions are; you don't need them anyway if you wish the Nth element, just use one-dimensional subscripting and Matlab will just do the right thing.
If you do want the subscripts for some other purpose, see
doc sub2ind
doc ind2sub
for the case to translate to/from one representation to the other.
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!