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

2 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

Ameer Hamza
Ameer Hamza le 17 Mai 2018
Modifié(e) : Ameer Hamza le 17 Mai 2018
Acces it like this
m{2}(3,2)
Refer here and here for further details about cell array indexing.

Plus de réponses (0)

Catégories

En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange

Tags

Produits


Version

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by