help-octave
[Top][All Lists]
Advanced

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

Re: ax=0


From: Geraint Paul Bevan
Subject: Re: ax=0
Date: Mon, 23 Aug 2004 14:39:42 +0100
User-agent: Mozilla Thunderbird 0.7.1 (X11/20040715)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

address@hidden wrote:
| sorry - i mean underdeterminded, so i have more variables than
equations. so
| there is no script/funktion to solve it with octave?
|

Octave can solve over-determined equations (see the fsolve
documentation, for example) but under-determined systems do not have
unique answers and are therefore not really amenable to numeric solution.

If you want all possible solutions (rather than just testing if a
particular solution is valid), you will need to use a computer algebra
system.

With ginsh (part of GiNaC), you can do:
| lsolve({x+y+z-12==0,x-y+z==2},{x,y,z});

which will return the answer
{x==7-z,y==5,z==z}

There are several symbolic algebra tools listed on the wiki:
http://wiki.octave.org/wiki.pl?CategorySymbolic

- --
Geraint Bevan
http://www.mech.gla.ac.uk/~gbevan

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iEYEARECAAYFAkEp854ACgkQcXV3N50QmNPkMwCcCZZbTzE8zvkD38MjKAewXmIx
CagAnRmPW0z/YQXiCyPgn+0kgsaJRbIn
=P3oh
-----END PGP SIGNATURE-----



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]