[scilab-Users] linsolve - is this a bug
Celso Co
celso.co at gmail.com
Mon Aug 15 02:17:42 CEST 2011
I think linsolve is wrong. cco
-->a*inv(a)*b
ans =
2.
3.
4.
-->a*linsolve(a,b)
ans =
- 2.
- 3.
- 4.
On Sun, Aug 14, 2011 at 7:14 PM, bazcor <bazcor at metronet.co.uk> wrote:
> -->a=[1 3 2;2 1 -1;5 2 1];b=[2;3;4]
>
> -->inv(a)*b
> ans =
>
> 0.55
> 1.05
> - 0.85 //correct result
>
>
> -->linsolve(a,b)
> ans =
>
> - 0.55
> - 1.05
> 0.85 // inverted signs
>
> is this a bug? I've checked the bug list and there's nothing there,maybe I'm
> using linsolve inappropriately?
>
> TIA for any comments .. Barry
>
>
> --
> View this message in context: http://mailinglists.scilab.org/linsolve-is-this-a-bug-tp3253410p3253410.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
>
--
Eng'r Celso B. Co, PhD ECE
Mobile Nos; +63918 913 2123
More information about the users
mailing list