Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

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



  • Prev by Date: Re: Matrix Problem
  • Next by Date: Re: Another bizarre phenomenon
  • Previous by thread: Re: Matrix Problem
  • Next by thread: Re: Univers font for PDF files