| Symbolic Math Toolbox | Search  Help Desk | |
| mfun | Examples | See Also |
Numeric evaluation of Maple mathematical function.
Y = mfun('function',par1,par2,par3,par4)
mfun('function',par1,par2,par3,par4) numerically evaluates one of the special mathematical functions known to Maple. Each par argument is a numeric quantity corresponding to a Maple parameter for function. You can use up to four parameters. The last parameter specified can be a matrix, usually corresponding to X. The dimensions of all other parameters depend on the Maple specifications for function. You can access parameter information for Maple functions using one of the following commands:
Maple evaluateshelp mfunlistmhelp function
function using 16 digit accuracy. Each element of the result is a MATLAB numeric quantity. Any singularity in function is returned as NaN.
mfun('FresnelC',0:5) returns
0 0.7799 0.4883 0.6057 0.4984 0.5636
mfun('Chi',[3*i 0]) returns
0.1196 + 1.5708i NaN
mfunlist, mhelp