Chapter 3. Working with Octave: Functions and Plotting
As promised in Chapter 2, we will now discuss Octave functions in greater detail. The first part of the chapter is devoted to this and will give an introduction to and an overview of some of the most useful functions that Octave provides. In the second part we shall see how to use Octave functions to do two and three dimensional plotting.
Specifically, we will cover:
Basic mathematical functions.
Miscellaneous helper functions that can initialize variable elements and perform simple analysis of variables.
Functions for linear algebra and polynomials.
The second part will take you through the plotting facilities, where you will learn:
How to make two- and three-dimensional plots.
About multi-plot and multi-graph plotting.
How to change the properties of the graph and the figure window.
Octave functions
You can think of an Octave function as a kind of general mathematical function—it takes inputs, does something with them and returns outputs. For...