[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Math Package to Solve Linear Equations?



"Thomas H. George" <lists@tomgeorge.info> schrieb im Newsbeitrag 
news:9b61S-4WB-11@gated-at.bofh.it...
> I'm feeling stupid.  I used to have a math package which inverted matrices 
> to solve systems of linear equations - i.e. enter the matrix and the y 
> values and the program inverts the matrix and reports the x values.  I 
> know how to do it manually but it is laborious for large matrices. 
> Perhaps Openoffice.calc/solver does this but it is not clear to me how to 
> enter data for solver to do this.  apt-cache search matrix |grep inversion 
> doesn't turn up anything.
>
> Would someone please beat me over the head and point me to a simple 
> package to do this job?
>
> Tom George
>
>
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a 
> subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Hello Tom,

I recommmend Scilab.
http://www.scilab.org/

Example A*x=B

A=[1 2; 3 5]
 A  =
    1.    2.
    3.    5.

B=[1;2]
 B  =
    1.
    2.


x=A\B
ans  =
  - 1.
    1.

Alternative:
x=inv(A)*B
ans  =
  - 1.
    1.

It has also a lot of functions for signal processing.

Best regards,
Helmut





Reply to: