Azzera filtri
Azzera filtri

hi all, is it possible to put more then two tasks in options?? like i want three "options = optimset('​MaxFunEval​s',50000,'​MaxIter',3​0000',MaxF​unInterval​',1020');"​...but its showing error.... do i need to use another options for third one????

2 visualizzazioni (ultimi 30 giorni)
hi all, is it possible to put more then two tasks in options?? like i want three "options = optimset('MaxFunEvals',50000,'MaxIter',30000',MaxFunInterval',1020');"...but its showing error.... do i need to use another options for third one????

Risposta accettata

Alan Weiss
Alan Weiss il 1 Mag 2017
There is no MaxFunInterval option. Did you mean MaxFunEvals? Look in the function reference page for the solver you are using and copy the applicable options exactly.
Alan Weiss
MATLAB mathematical toolbox documentation
  3 Commenti
Steven Lord
Steven Lord il 1 Mag 2017
MaxIntervalCount is not an option for the functions in Optimization Toolbox but is an option used by the quadgk function. Inside the function that you pass into the Optimization Toolbox function you're using, you call quadgk.
If you show the integral your function is trying to compute we may be able to say if increasing the MaxIntervalCount option in the quadgk call will work, if the integral of the function just plain doesn't exist (it doesn't converge), or if there are other techniques you can use to integrate it more easily.
ZAHID MALIK
ZAHID MALIK il 6 Mag 2017
not able to reproduce this plot after doing minimization...plzzz help... program and plot both i m sending u in attached files

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Board games in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by