solve(f,a,b)

Solves, if possible, f(x)=0.
65 Downloads
Updated 20 Apr 2018

View License

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 (2024). solve(f,a,b) (https://www.mathworks.com/matlabcentral/fileexchange/56071-solve-f-a-b), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

Solve 2.0/

Version Published Release Notes
2.0.0.0

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

1.0.0.0