Chapter 2. Interacting with Octave: Variables and Operators
Octave is specifically designed to work with vectors and matrices. In this chapter, you will learn how to instantiate such objects (or variables), how to compare them, and how to perform simple arithmetic with them. Octave also supports more advanced variable types, namely, structures and cell arrays, which we will learn about. With Octave, you have an arsenal of functionalities that enable you to retrieve information about the variables. These tools are important to know later in the book, and we will go through the most important ones.
In detail, we will learn how to:
- Instantiate simple numerical variables i.e. scalars, vectors, and matrices.
- Instantiate text string variables.
- Instantiate ...
Get GNU Octave now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.