How to convert polynomial equation into row matrix by a command?
5 次查看(过去 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)
1 个评论
dpb
2019-12-14
So write one and contribute to FEX???
How general does it need to be to suit your needs?
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!