I am new to matlab and I'm uncertain how to enter a constant.
So I want to do something like $\displaystyle x_1 + x_2 +2x_3 = 0$ but I'm don't know what to do about the = 0 part.
For example it would be wrong if I wentCode:A=[1,1,2,0;...]
I am new to matlab and I'm uncertain how to enter a constant.
So I want to do something like $\displaystyle x_1 + x_2 +2x_3 = 0$ but I'm don't know what to do about the = 0 part.
For example it would be wrong if I wentCode:A=[1,1,2,0;...]
I want to use rref to find the general solution but I don't know how to acount for the "=0" part of the equations.
$\displaystyle
\begin{array}{lcl} 2x_1-x_2+4x_3+x_5 & = & 0 \\ x_1+2x_2 +3x_3+x_4-x_5 & = & 0 \\ -2x_1-x_2 -2x_4+2x_5& = & 0 \end{array}
$