I want to draw out the coefficients of the symbolic variables in a linear equation, like:
syms x1 x2 x3
and the coefficients are [0,5,0].
I used the "*coeffs*" fuction in the toolbox, but it omits the "zero coefficients.
please help me out. thanks in advance.