MATLAB: Displaying system format

displaying

could I display system as
x*[25
64
144]+y*
[5
5
12]+z*[
1
1
1]=[
289
345
123]
but the vectors are vertical

Best Answer

The closest the symbolic toolbox can do is
>> x*[25;64;144] + y*[5;5;12] + z*[1;1;1] == [289;345;123]
ans =
25*x + 5*y + z == 289
64*x + 5*y + z == 345
144*x + 12*y + z == 123
>> pretty(ans)
/ 25 x + 5 y + z == 289 \
| |
| 64 x + 5 y + z == 345 |
| |
\ 144 x + 12 y + z == 123 /
It is not possible at the MATLAB level to prevent the multiplications from taking place (it is possible if you are working in a MuPad notebook.)
To get the output you are looking for, you will need to do the output formatting yourself.