after concatenation of matrix of different dimension how to extrat value of particluar row and column

2 visualizzazioni (ultimi 30 giorni)
m1=rand(10,2); m2=rand(10,3); m3=rand(10,6); m={m1,m2,m3}; if i want m2(3,2) i will get value, but using m i want to get m2(3,2), is this possible.

Risposta accettata

Ameer Hamza
Ameer Hamza il 17 Mag 2018
Modificato: Ameer Hamza il 17 Mag 2018
Acces it like this
m{2}(3,2)
Refer here and here for further details about cell array indexing.

Più risposte (0)

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Tag

Prodotti


Release

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by