| func_0.m | Simple function syntax, return value, input args, variable scope | ||
| func_1.m | Plotting tangent circles as a function | ||
| func_2.m | Square root as a function | ||
| func_3.m | Pi approximation as a function - uses square root function above | ||
| func_3a.m | Pi approximation - interactive, uses Taylor expansion for atan(x), x=1 | ||
| func_3b.m | Pi approximation - interactive, uses Taylor expansion for atan(x), x=√2 -1 | ||
| func_4.m | Writing internal workspace to the caller's workspace | ||
| func_5.m | Returning a vector | ||
| func_6.m | Returning a vector of returned objects | ||
| func_7.m | The two returned objects are vectors | ||
| func_8.m | Passing functions as arguments to functions - calls findpi.m |
Function notes
| handles | Anonymous functions - passing functions as arguments | ||
| functions | What are functions and what do they do? | ||
| user functions | How do users use functions? | ||
| arrays | Description of arrays |