フィルターのクリア

is there a function that returns the real root from a matrix that contains the roots of a function ?

1 回表示 (過去 30 日間)
i want to return the real root from a vector contains the roots of a function, this vector contains both imaginary and real roots

採用された回答

Walter Roberson
Walter Roberson 2013 年 4 月 12 日
If R is the vector of roots, then
R(imag(R) == 0)

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by