Path: news.mathworks.com!not-for-mail
From: "Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Cramer's Rule - linear equations
Date: Wed, 14 May 2008 00:54:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 26
Message-ID: <g0dd79$kd7$1@fred.mathworks.com>
References: <g0bdna$rjm$1@fred.mathworks.com>
Reply-To: "Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1210726441 20903 172.30.248.35 (14 May 2008 00:54:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 14 May 2008 00:54:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1187260
Xref: news.mathworks.com comp.soft-sys.matlab:468276


"Ashwini Deshpande" <vd.ashwini@mathworks.com> wrote in message 
<g0bdna$rjm$1@fred.mathworks.com>...
> I have three linear equations with 3 unknowns, say for example:
> 
> 3x + 4y + 6z = 1; 
> x - 2y + 7z = 10;
> 2x + 3y - 9z = 15;
> 
> How do i solve this using matlab, is there any easiest way
> to apply Cramer's Rule to Solve these equations ???
> 
> Any help would be appreciated !!
> Thanks !
> Ashwini
-------------
  It is true that using Cramer's Rule in matlab would in general constitute an 
inefficient method of solving linear equations, when there are so many 
superior algorithms available.  However, it must be said in defense of 
Cramer's Rule that it remains a very useful tool in mathematics, both in 
understanding the theory in linear algebra and also for doing certain symbolic 
manipulations.  I personally have to resort to its use quite often in deriving 
various formulas and the like.  It is only in the area of actual numerical 
computation that other methods become preferable.

Roger Stafford