Accessing a cell in a 2D grid
6 ビュー (過去 30 日間)
古いコメントを表示
Hi all,
I have a 2D grid as shown below where each cell represents a pair of and where and . I would like to construct a new index that combines these two indices to run over all of the cells as a one continous number.
Any help would be appreciated.
Thanks.
0 件のコメント
回答 (1 件)
Cris LaPierre
2021 年 7 月 3 日
6 件のコメント
dpb
2021 年 7 月 4 日
Yet again, however, I'd almost wager it isn't the most fruitful approach to the problem...
参考
カテゴリ
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!