Re: Can't get exact solution. Why ?
- From: "Mr Hrundi V Bakshi" <mrhrundivbakshi@xxxxxxxxxxx>
- Date: Fri, 24 Feb 2006 10:45:47 -0500
<eigen21@xxxxxxxxx> wrote in message
news:1140768240.033400.123560@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I'm using Compaq Visual fortran 6.1 (window XP platform)
My problem is simple
I hope to solve x of A*x = b
A = [ 4 2 0 0 0 0 ;
2 4 2 0 0 0 ;
0 2 4 2 0 0 ;
0 0 2 4 2 0 ;
0 0 0 2 4 2 ;
0 0 0 0 2 4 ] --> symmetric
b = [1;1;1;1;1;1]
In matCAD. I can get solution
x =
0.214
0.071
0.143
0.143
0.071
0.214
In Matlab, A is well conditioned wrt inversion and inv(A)*b =
2.142857142857143e-001
7.142857142857151e-002
1.428571428571428e-001
1.428571428571429e-001
7.142857142857140e-002
2.142857142857143e-001
more or less the same as MatCAD.
.
- Follow-Ups:
- Re: Can't get exact solution. Why ?
- From: michael
- Re: Can't get exact solution. Why ?
- References:
- Can't get exact solution. Why ?
- From: eigen21@xxxxxxxxx
- Can't get exact solution. Why ?
- Prev by Date: Re: How to install lapack in fedora core 4?
- Next by Date: Re: A few syntax questions
- Previous by thread: Re: Can't get exact solution. Why ?
- Next by thread: Re: Can't get exact solution. Why ?
- Index(es):