Previous Up Next

15.7.1  Matrix of a system

The syst2mat command turns a system of linear equations into its augmented matrix. (For this command, the augmented matrix of Ax=b has the column vector −b glued to the right of A.)

Remark.

Note that the variables must be purged before syst2mat is called.

Examples

syst2mat([x+y,x-y-2],[x,y])
     


110
1−1−2


          
syst2mat([x+y=0,x-y=2],[x,y])
     


110
1−1−2


          

Previous Up Next