Summary

We went through a lot of the basics in this chapter! Specifically, we learned:

  • How to instantiate scalar, vector, and matrix variables.
  • How to instantiate complex variables.
  • How to instantiate a text string.
  • How to access and change the values of array elements.
  • About structures, cell arrays, and multidimensional arrays.
  • How to retrieve important information about the variables.
  • How to add and subtract vectors and matrices.
  • About matrix multiplication.
  • Solving linear equation systems.
  • How to compare scalars, vectors, and matrices.
  • Some additional helpful functionality.
  • Precedence rules.

In the next chapter, we will learn about Octave functions and how to do plotting. We shall make use of many of the things that we have just learned in this chapter. ...

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.