Summary

The main purpose of this chapter was to introduce you to making your own Octave package.Specifically, we learned about:

  • The one and two-dimensional Poisson equation.
  • The finite difference scheme for second order derivatives.
  • How sparse matrices can be used in Octave.
  • The imagesc function.
  • Wrapper functions.
  • The DESCRIPTION, COPYING, and INDEX package files.
  • The Octave package manager pkg, and how to use this to build your own Octave package.

There is much more to know about Octave packages, but hopefully you can use this chapter as a starting point when you build your first package.

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.