SLOW FSOLVE AND FZERO
4 ビュー (過去 30 日間)
古いコメントを表示
Hi Dear All,
In my matlab code, for 2000 parameters, I need to calculate output. It took 25 secs. When I use profile viewer, it was suggested that 80 % of running time consumed in one line fsolve parameter.
Lets assume x^3-x^2+x-1=0 and I need to solve this but fsolve is quite slow when there is a large data set?
Any suggestion to avoid this problem? Should I write new solver?
0 件のコメント
採用された回答
Torsten
2016 年 10 月 25 日
I don't know whether it's faster, but use "roots" instead of "fsolve" for zeros of polynomials.
Best wishes
Torsten.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Linear Least Squares についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!