fsolve cannot limit the range of values.
fzero can limit the range of variables but only for a single function in one variable.
vpasolve can limit the range of values.
You can often get useful results by minimizing sum of f squared over a range as fmincon can handle range constraints
1 Comment
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/515215-how-to-improve-accuracy-in-fsolve#comment_820979
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/515215-how-to-improve-accuracy-in-fsolve#comment_820979
Sign in to comment.