how can i make an array of variables with different sizes?

3 visualizaciones (últimos 30 días)
marco mendez
marco mendez el 24 de Sept. de 2019
Comentada: marco mendez el 26 de Sept. de 2019
Hi!
I want to put into an array or vector or cell or something, variables with differents sizes like for example '12x102 double' for the first term. Then for the second term a '11x98 double' variable. Thus, I'll have (if we call 'MOD' the array) MOD[1]=the variable witch size is '12x102 double' and for MOD[2] the one of '11x98 double'.
Thanks!
  3 comentarios
Adam Danz
Adam Danz el 24 de Sept. de 2019
What per isakson said...
Here's an example
MOD{1} = rand(12,102);
MOD{2} = rand(11,98);
marco mendez
marco mendez el 26 de Sept. de 2019
thanks to both of you, it has helped me.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by