This is an old version of the Octave manual. Find the latest version at: https://docs.octave.org/latest.

Next: , Previous: , Up: Functions and Scripts   [Contents][Index]


11.12 Function Handles and Anonymous Functions

It can be very convenient store a function in a variable so that it can be passed to a different function. For example, a function that performs numerical minimization needs access to the function that should be minimized.