Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.


Patrik
Posts:
1
Registered:
11/11/12


reshaping multidimensional data
Posted:
Nov 11, 2012 7:24 AM


Hi, I have a problem putting several matrices of different/same dimensions together to be represented by a single vector. The matrices have been constructed by reshaping multidimensional data to fit e.g. a 6*6*6 matrix. Now I need a vector containing all the given information. My result allways creates a matirx with the dimension 30*6*6 since I have 5 matrices as input if I use the line Y=[Matrix1; Matrix2;...]; and 6*30*6 if I use Y=[Matrix1, Matrix2,...]; How do I get MATLAB to create a vector containing all dimensions of all input matrices? I'm quite new to MATLAB so I would be thankful for every help I could get here.
Best Patrik



