function-handle
Programming
Create a handle (reference) to a named function. The @ symbol followed by a function name (no parentheses) creates a callable reference. Pass function handles to functions like ode45, fminsearch, etc.
Syntax
fh = @functionName
@sin
@cos
@mean
Examples
See Also
Try SimLab — Free MATLAB® Alternative
466 functions. Runs in your browser. No install.
Open SimLab