Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

What are the row and column subscripts needed to access the 167th element of the fourth cell

2 vues (au cours des 30 derniers jours)
AnhThu Le
AnhThu Le le 1 Sep 2017
Clôturé : MATLAB Answer Bot le 20 Août 2021
the value shows up in vectors.

Réponses (1)

dpb
dpb le 1 Sep 2017
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.

Cette question est clôturée.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by