How to reduce function evaluation in each iteration in fsolve?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Mohmmad Teymouri
am 4 Okt. 2015
Kommentiert: Mohmmad Teymouri
am 6 Okt. 2015
Hello, I have a code which contains non-linear equations. I want to solve it using fsolve and it goes very well. But the problem is that function evaluations in each iteration is so time consuming (115 func-count in each iteration). I want to reduce function evaluations in each iteration. Is there any way or code to do it? Or how can I optimize my codes to lower the execution time. Now the running time using tic-toc is 9.5 seconds. I need it to be lower than 0.5 second. With best regards
2 Kommentare
Jan
am 4 Okt. 2015
What about posting the code? Perhaps it is possible to accelerate the function evaluations instead of reducing the number of evaluations.
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Entering Commands finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!