[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inverse Matrix Function appears a bit wonky
From: |
Dmitri A. Sergatskov |
Subject: |
Re: Inverse Matrix Function appears a bit wonky |
Date: |
Wed, 03 Nov 2004 14:08:34 -0700 |
User-agent: |
Mozilla Thunderbird 0.8 (X11/20040913) |
Robert A. Macy wrote:
I tried a simple test of the inverse function using a "made
up" matrix...
testmatrix =
1 2 3 4
2 2 3 3
1 2 1 2
3 2 2 1
Your matrix is no good. Set testmatrix(4,4)=-1 and try again :)
What do I do to make certain octave doesn't do these
erroneous inverse calculations the next time I go to use
the inverse function?
Instead of b=inv(a), you can try [b,r]=inv(a), and check
that r is not too small.
- Robert -
Cheers,
Dmitri.
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- Re: Inverse Matrix Function appears a bit wonky, (continued)
- Re: Inverse Matrix Function appears a bit wonky,
Dmitri A. Sergatskov <=
- Re: Inverse Matrix Function appears a bit wonky, Robert A. Macy, 2004/11/04
- Re: Inverse Matrix Function appears a bit wonky, David Bateman, 2004/11/04
- Re: Inverse Matrix Function appears a bit wonky, John W. Eaton, 2004/11/04
- Re: Inverse Matrix Function appears a bit wonky, David Bateman, 2004/11/05
- Re: Inverse Matrix Function appears a bit wonky, John W. Eaton, 2004/11/05
- Re: Inverse Matrix Function appears a bit wonky, David Bateman, 2004/11/05
Re: Inverse Matrix Function appears a bit wonky, Geraint Paul Bevan, 2004/11/03