How to set the terminal condition of the Matlab built-in function roots?
2 ビュー (過去 30 日間)
古いコメントを表示
like this.
0 件のコメント
採用された回答
Steven Lord
2020 年 7 月 29 日
You don't. roots builds the companion matrix and computes the eigenvalues of that matrix.
I can't see the context before that section of that paper or assignment but I'm guessing the process was to repeatedly create a polynomal coefficient vector, use roots to solve it, and stop the repetition if one / the smallest of the roots of the current coefficient vector became "small enough." That uses the output of roots as part of the temination criteria for the process, but it doesn't try to control roots itself.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Function Creation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!