Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Manipulate columns of a Matrix' topicStudent Support Forum > General > Archives > "Manipulate columns of a Matrix"

Next Comment >Help | Reply To Topic
Author Comment/Response
Rick Cartier
09/04/08 01:01am

Hello,

Given a data set

{{0.1, 1}, {0.2, 2}, {0.3, 3}}

I would like to switch columns to obtain

{{1, 0.1}, {2, 0.2}, {3, 0,3}}

What is the most straightforward way to do this and, assuming I read in a large number of columns from a data file, is the most generic way to accomplish this a program indexing each element?

Thank you!

URL: ,

Subject (listing for 'Manipulate columns of a Matrix')
Author Date Posted
Manipulate columns of a Matrix Rick Cartier 09/04/08 01:01am
Re: Manipulate columns of a Matrix yehuda ben-s... 09/05/08 10:21am
Re: Re: Manipulate columns of a Matrix Rick Cartier 09/05/08 7:27pm
Next Comment >Help | Reply To Topic