The fzero function is a built-in MATLAB function for solving nonlinear equations. fzero uses a combination of root finding methods, including the bisection method.
Like the bisection method, fzero needs two things to find a root.
an interval bracketing the desired root
In the bisection method example, the function was coded inside the algorithm.
For fzero , thefunctin must be passed as an input to fzero using a function handle.
In this chapter, you will learn to create anonymous function handles, pass the function handle and brackets to fzero to find a root, and adapt the process to find multiple roots.
Additional Root Finding Functions