5.1 Introduction5.2 Making Simple Script and Function Files5.3 Input and Output Arguments in Functions5.3.1 Arguments of Different Types5.3.2 Variable Number of Arguments5.4 Types of Functions5.4.1 Function Functions, Feval, and Inline5.4.2 Subfunctions5.4.3 Private Functions5.4.4 Function Name Resolution5.5 Global and Persistent Variables5.6 Polynomial Functions5.7 Recursive Functions5.8 Common Errors in Using FunctionsProgramming Tips and PitfallsSummaryExercises