11 Functions and Scripts ************************ Complicated Octave programs can often be simplified by defining functions. Functions can be defined directly on the command line during interactive Octave sessions, or in external files, and can be called just like built-in functions.
· Introduction to Function and Script Files · Defining Functions · Multiple Return Values · Variable-length Argument Lists · Ignoring Arguments · Variable-length Return Lists · Returning from a Function · Default Arguments · Function Files · Script Files · Function Handles Anonymous Functions Inline Functions · Commands · Organization of Functions