Mathematica 9 is now available
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: [mg51682] Re: [mg51641] Matrix Problem
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Fri, 29 Oct 2004 03:39:01 -0400 (EDT)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

n=Reverse[m]

n=Sort[m, #1[[1]]>#2[[1]]&]


Bob Hanlon

> 
> From: brindaban at gmail.com (nilaakash)
To: mathgroup at smc.vnet.net
> Date: 2004/10/27 Wed PM 11:42:52 EDT
> To: mathgroup at smc.vnet.net
> Subject: [mg51682] [mg51641] Matrix Problem
> 
> 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
> 
> 


  • Prev by Date: Re: Inverse of "PowerExpand"
  • Next by Date: Re: Diff. Equations with "Changeable" Parameters
  • Previous by thread: Re: Matrix Problem
  • Next by thread: Re: Matrix Problem