solve(f,a,b)

Solves, if possible, f(x)=0.

You are now following this Submission

This program tries to find a solution of f(x)=0 in the interval a<x<b. It's not required that f(a)f(b)<0, and it will report if a solution is not found in the interval.

Cite As

Mark Holmes (2026). solve(f,a,b) (https://nl.mathworks.com/matlabcentral/fileexchange/56071-solve-f-a-b), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.0.0.0

simplified the code; improved the refinement strategy; added examples file

1.0.0.0