Hi, I'd like to know if I could create some matricies from array elements, for example, if I have four arrays of dimension n by 1, can I then create n matricies by defining something like M(i)=[array1(i),array2(i);array3(i),array4(i)] and running a loop over i? Any help would be appreciated. Thanks. Edit: Thanks for answering sixwwwwww, I didn't know you could make a matrix of arrays, but I was kind of hoping to do it the other way round (an array of matricies). My goal is to put the matricies into an equation and then plot the resulting elements, so I was hoping to be able to do something like: define a set of n matricies using nth elements of my arrays, put these n matrices into my equation to obtain another set of n matrices, then plot the resulting matrix elements against some function of n. Is there any way I could do this?
MATLAB: Can I create an array of matricies
arraysmatrices
Best Answer