Code covered by the BSD License  

Highlights from
Bisection

Be the first to rate this file! 8 Downloads (last 30 days) File Size: 1.8 KB File ID: #28978

Bisection

by Wolfgang Putschögl

 

08 Oct 2010

Computes the root of a function f by bisectioning.

| Watch this File

File Information
Description

Computes the root of a continuous function f in the interval [a,b] by bisectioning.

For this algorithm the function values of endpoints must differ in sign.

Usage: [c,fc,err] = bisection(f,a,b,delta)

Input arguments:
    f function
    a left endpoint
    b right endpoint
    delta error tolerance
Output arguments:
    c solution
Optional Output arguments:
    fc function value of solution
    err error estimate

MATLAB release MATLAB 7.10 (2010a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
approximation Wolfgang Putschögl 08 Oct 2010 11:59:53
solve Wolfgang Putschögl 08 Oct 2010 11:59:53
mathematics Wolfgang Putschögl 08 Oct 2010 11:59:53
root Wolfgang Putschögl 08 Oct 2010 11:59:53
bisection Wolfgang Putschögl 08 Oct 2010 11:59:53
interpolation Wolfgang Putschögl 08 Oct 2010 11:59:53
approximations Wolfgang Putschögl 08 Oct 2010 11:59:53

Contact us at files@mathworks.com