Symbolic Math Toolbox    

Special Mathematical Functions

Over fifty of the special functions of classical applied mathematics are available in the toolbox. These functions are accessed with the mfun function, which numerically evaluates a special function for the specified parameters. This allows you to evaluate functions that are not available in standard MATLAB, such as the Fresnel cosine integral. In addition, you can evaluate several MATLAB special functions in the complex plane, such as the error function.

For example, suppose you want to evaluate the hyperbolic cosine integral at the points 2+i, 0, and 4.5. First type

to see the list of functions available for mfun. This list provides a brief mathematical description of each function, its Maple name, and the parameters it needs. From the list, you can see that the hyperbolic cosine integral is called Chi, and it takes one complex argument. For additional information, you can access Maple help on the hyperbolic cosine integral using

Now type

which returns

mfun returns NaNs where the function has a singularity. The hyperbolic cosine integral has a singularity at z = 0.

These special functions can be used with the mfun function:

The orthogonal polynomials listed below are available with the Extended Symbolic Math Toolbox:


  Several Differential Equations Diffraction