Re: Matrix Problem
- To: mathgroup at smc.vnet.net
- Subject: [mg51688] Re: Matrix Problem
- From: Roger Bagula <tftn at earthlink.net>
- Date: Fri, 29 Oct 2004 03:39:18 -0400 (EDT)
- References: <clpr7g$a3d$1@smc.vnet.net>
- Reply-to: tftn at earthlink.net
- Sender: owner-wri-mathgroup at wolfram.com
Reference the first level of the list and load the elements backward: N=Table[M[[7-n]],{n,0,6}] It is actually a permutation of the rows of the matrix. Columns would be harder, ha, ha... nilaakash wrote: >Suppose I have a m*n matrix like this type. > >M={{1, a1, b1, c1}, {2, a2, b2, c2}, {3, a3, b3, c3}, {4, a4, b4, c4}, {5, a5, > b5, c5}, {6, a6, b6, c6}, {7, a7, b7, c7}} > >I want to change my matrix in such a way, > >N={{7, a7, b7, c7}, {6, a6, b6, c6}, {5, a5, b5, c5}, {4, a4, b4, c4}, {3, a3, > b3, c3}, {2, a2, b2, c2}, {1, a1, b1, c1}} > >Could anybody tell me how to this. > >Thanks. > >nilaakash > > > -- Respectfully, Roger L. Bagula tftn at earthlink.net, 11759Waterhill Road, Lakeside,Ca 92040-2905,tel: 619-5610814 : alternative email: rlbtftn at netscape.net URL : http://home.earthlink.net/~tftn