Effacer les filtres
Effacer les filtres

How can I find the coefficients of the symbolic variables in a linear equation?

7 vues (au cours des 30 derniers jours)
Hi guys,
I want to draw out the coefficients of the symbolic variables in a linear equation, like:
syms x1 x2 x3
0*x1+5*x2+0*x3-10=0
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.

Réponse acceptée

Alexander
Alexander le 6 Juil 2012

Plus de réponses (0)

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by