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: Separate array/matrix into columns
Replies: 1   Last Post: Jan 22, 2013 9:16 AM

Advanced Search

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

Posts: 61
Registered: 12/8/08
Separate array/matrix into columns
Posted: Jan 22, 2013 8:47 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi,

Is the there a way to split the following:
100 200 300
1 6 12 18
2 6 12 18
3 6 12 18
4 6 12 18
5 6 12 18

into:
x y z
100 1 6
100 2 6
100 3 6
100 4 6
100 5 6
200 1 12
200 2 12
200 3 12
200 4 12
200 5 12
300 1 18
300 2 18
300 3 18
300 4 18
300 5 18

Essentially, the matrix has been split into its consituent columns.

Any help would be great.

Thanks,

Phil



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.