フィルターのクリア

Roots of a matrix of polynomial coefficients

4 ビュー (過去 30 日間)
Salar
Salar 2016 年 4 月 7 日
回答済み: Walter Roberson 2016 年 4 月 7 日
Hello,
I know how the roots function work in MATLAB. It takes a "vector" C containing coefficients of "a" polynomial, and then it'll spit out the roots of that polynomial. But now I have a Matrix that contains the coefficients of different polynomials and I'd like to find their roots? How Do I do that? Is there anyway to do that using the roots function?
Thank you!

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 4 月 7 日
Use a loop, or equivalent such as arrayfun.
There might also be a way using the symbolic toolbox and solve() and double(), maybe http://www.mathworks.com/help/symbolic/poly2sym.html . But that would certainly not be efficient.

カテゴリ

Help Center および File ExchangePolynomials についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by