How to convert polynomial equation into row matrix by a command?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Waseem Sajjad
am 14 Dez. 2019
Beantwortet: Steven Lord
am 15 Dez. 2019
We know that eq=- w^3 + 6*w^2 - 8*w + 1 can be write in matlab as A=[-1 6 -8 1] , But there should be a command that directly converts polynomial equation like that
A=equationToRowmatrix(eq)
1 Kommentar
dpb
am 14 Dez. 2019
So write one and contribute to FEX???
How general does it need to be to suit your needs?
Akzeptierte Antwort
Steven Lord
am 15 Dez. 2019
Symbolic Math Toolbox has the sym2poly function that does this.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Interpolation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!