How to convert polynomial equation into row matrix by a command?

31 次查看(过去 30 天)
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)

采纳的回答

Steven Lord
Steven Lord 2019-12-15
Symbolic Math Toolbox has the sym2poly function that does this.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by