|
Am Freitag, 16. März 2012 11:02:17 UTC+1 schrieb david :
> Hello all,
> I have the following three equations in three unknowns x1,x2,x3 :
> 0.2*x1-0.5*x2=0
> 0.15*x1-0.5*x3=0
> -0.3*x1+0.5*x2+0.5*x3=0
> I tried to solve them in matlab as x=A\b where
> A = [0.2 -0.5 0; 0.15 0 -0.5; -0.35 0.5 0.5] and b = [0 0 0]' but I got a zero solution which is a trial solution I think. Could you please help me finding another solution to these equations?
>
> Thanks in advance
>
> David
Try
Z=null(A)
If you only get the zero vector for Z, then x=0 is the only solution
for your system of linear equations.
Best wishes
Torsten.
|