Accessing a cell in a 2D grid
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Cris LaPierre
le 3 Juil 2021
6 commentaires
dpb
le 4 Juil 2021
Yet again, however, I'd almost wager it isn't the most fruitful approach to the problem...
Voir également
Catégories
En savoir plus sur Matrix Indexing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!