15.11.2014 Views

MATLAB Mathematics - SERC - Index of

MATLAB Mathematics - SERC - Index of

MATLAB Mathematics - SERC - Index of

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4 Function Functions<br />

Function Summary<br />

Function functions are functions that call other functions as input arguments.<br />

An example <strong>of</strong> a function function is fplot, which plots the graphs <strong>of</strong> functions.<br />

You can call the function fplot with the syntax<br />

fplot(@fun, [-pi pi])<br />

where the input argument @fun is a handle to the function you want to plot.<br />

The function fun is referred to as the called function.<br />

The function functions are located in the <strong>MATLAB</strong> funfun directory.<br />

This table provides a brief description <strong>of</strong> the functions discussed in this<br />

chapter. Related functions are grouped by category.<br />

Function Summary<br />

Category Function Description<br />

Plotting fplot Plot function<br />

Optimization<br />

and zero finding<br />

Numerical<br />

integration<br />

fminbnd<br />

fminsearch<br />

fzero<br />

quad<br />

quadl<br />

quadv<br />

dblquad<br />

triplequad<br />

Minimize function <strong>of</strong> one variable with<br />

bound constraints.<br />

Minimize function <strong>of</strong> several variables.<br />

Find zero <strong>of</strong> function <strong>of</strong> one variable.<br />

Numerically evaluate integral, adaptive<br />

Simpson quadrature.<br />

Numerically evaluate integral, adaptive<br />

Lobatto quadrature.<br />

Vectorized quadrature<br />

Numerically evaluate double integral.<br />

Numerically evaluate triple integral.<br />

4-2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!