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 LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.