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 Inversion

  • To: mathgroup at smc.vnet.net
  • Subject: [mg48039] Re: Matrix Inversion
  • From: Thomas E Burton <tburton at brahea.com>
  • Date: Sat, 8 May 2004 01:23:43 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Gregor,

If your matrix were badly conditioned, another system would probably 
also have trouble. Often the matrix merely needs rescaling. I use the 
following:

scaledInverse[m_?MatrixQ] :=
   With[{scale = MapIndexed[If[#2[[1]] == #2[[2]], 1/Sqrt[#1], 0] & , m, 
{2}]},
     scale . Inverse[scale . m . scale] . scale
   ]

Tom Burton


  • Prev by Date: Drawing diagrams easily
  • Next by Date: Re: Mandelbrot Set & Mathematica
  • Previous by thread: Matrix Inversion
  • Next by thread: simultaneous fit of multiple data sets