Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: reshaping multidimensional data
Replies: 1   Last Post: Nov 11, 2012 7:31 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Patrik

Posts: 1
Registered: 11/11/12
reshaping multidimensional data
Posted: Nov 11, 2012 7:24 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.