Mathematics |
Function functions are functions that call other functions as input arguments. An example of a function function is fplot
, which plots the graphs of functions. You can call the function fplot
with the syntax
where the input argument @fun
is a handle to the function you want to plot. The function fun
is referred to as the called function.
The function functions are located in the MATLAB funfun
directory.
This table provides a brief description of the functions discussed in this chapter. Related functions are grouped by category.
Category
Function
Description
Plotting
fplot
Plot function
Optimization and zero finding fminbnd
Minimize function of one variable with bound constraints.
fminsearch
Minimize function of several variables.
fzero
Find zero of function of one variable.
Numerical integration quad
Numerically evaluate integral, adaptive Simpson quadrature.
quadl
Numerically evaluate integral, adaptive Lobatto quadrature.
quadv
Vectorized quadrature
dblquad
Numerically evaluate double integral.
triplequad
Numerically evaluate triple integral.
Function Functions | Representing Functions in MATLAB |
© 1994-2005 The MathWorks, Inc.