How to convert polynomial equation into row matrix by a command?
조회 수: 14 (최근 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개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Polynomials에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!