Skip to navigation
Skip to content
#
Solving Nonlinear Equations with MATLAB

## Modules

## Lessons

##
Course Overview

Course Outline What is Root Finding? Define the root of a function and how finding a root relates to solving an equation. Finding a Root: The Bisection Method Implement
##
The Roots of a Function(Preview)

What is a Root? A root is any value of x which makes the function f(x) equal to zero. Graphically, a root can be thought of as where f(x) crosses the x-axis. Locating a root of
##
Visualizing Roots(Preview)

Estimating Roots Graphically Looking at a plot is the easiest way to approximate a root's location. In fact, to use most numerical root finding algorithms, you will need to provide
##
Defining the Root Finding Problem(Preview)

Root Finding and Solving Equations It's more common to be solving an equation than finding the root of a function. However, you can rearrange an equation to use root finding
##
Selecting Brackets for a Root(Preview)

Where to Look for Roots So far, you have estimated roots by plotting the function and visually locating the root. Numerical root finding methods can't visually locate a root;
##
The Bisection Method Algorithm(Preview)

The bisection method is a simple and robust root finding algorithm. Like all numerical root finding algorithms, the method starts with an initial guess and refines it until the root
##
MATLAB Root Finding Functions(Preview)

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
##
Anonymous Functions(Preview)

An anonymous function is a way to define a simple function and store it as a variable in the workspace. [huge_it_slider id="77 "] Anonymous functions are
##
The fzero Function(Preview)

Using a MATLAB Root Finding Function The fzero function takes a function handle and an interval as inputs, and returns exactly one root in the interval. Find a
##
Finding Multiple Roots(Preview)

Functions with Multiple Roots Sometimes a function has more than one root. fzero does not find all roots in an interval. If a set of brackets contains more than one
##
Review – The fzero Function(Preview)

fzero Function Syntax Finding Multiple Roots The fzero function returns one root in the interval x0. You can use fzero to find multiple roots of a function, but you