help-octave
[Top][All Lists]
Advanced

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

ax=0


From: grumpy steve
Subject: ax=0
Date: Tue, 24 Aug 2004 00:26:34 +0100

>Quoting weino001 at students dot uni-mainz dot de:
>the right term is of course "underdetermined linear equations" - sorry
>>
>> Is there a script available for solving undetermined linear equation ax = 0
>> (more equations than variables, i need all solutions)?  If not, what is the
>> best way to solve it with octave.
>>
>> Thanks for any help
>> Oliver
>>

What you need to find is the null space of a.  Octave provides a function to do exactly that:

  NullSpace = null(a)

Now, any x that can be expressed as a linear combination of the columns of NullSpace is a solution to a x = 0

If NullSpace is an empty matrix, then this implies that the only solution is x=0.

Steve


reply via email to

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