Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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.

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Data Type Conversion en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by