Summary
In this chapter, you learned:
To write your own Octave function.
To check for user input and write warning and usage messages if needed.
How to write a help text .
How to define Octave functions that can be used by Octave to solve different numerical problems.
About inline functions.
To write your own functions that take user-supplied functions as input.
More about the importance of vectorization.
How to perform simple debugging of your function.
You are now ready to move on to the second part of the book and use your skills to write your own Octave package.