# Math Help - homogeneous systems in matlab

1. ## homogeneous systems in matlab (still need help)

I am new to matlab and I'm uncertain how to enter a constant.

So I want to do something like $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 went
Code:
A=[1,1,2,0;...]

2. Originally Posted by superdude
I am new to matlab and I'm uncertain how to enter a constant.

So I want to do something like $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 went
Code:
A=[1,1,2,0;...]
Be more specific, and make sure there is a question in your post.

CB

3. 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.
$
\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}
$