Usually for linear system like x1dot=x1+2x2+u x2dot=x2
A=[1 2;0 1] and B=[1;0].
Do you mean something like A=[a11 a12;a21 a22]; and B=[b11;b12]?
Please add more details to your question. you have not mentioned the type of information you have about the system.
