Skip to main content
main-content
Top

About this book

Get a quick start to learn, understand, and apply GNU Octave using a math- and programming-friendly approach. This book focuses on an end-to-end track to teach mathematical programming, data science, signal processing, and image processing with GNU Octave.

GNU Octave by Example starts with an introduction to GNU Octave, a free and open-source alternative to MATLAB. Next, it explains the processes to install GNU Octave on popular operating systems such as Windows, Ubuntu, Raspberry Pi, and other platforms. Further, it covers hands-on exercises with GNU Octave exploring the basic functionality and command line in interactive mode. This is followed by covering matrices and various operations including how to read and analyze data from various sources. Moving forward, it introduces commonly used programming constructs in data visualization. It explains 2D and 3D data visualization along with data analysis. It also demonstrates the concepts related to geometry and its application with GNU Octave. It concludes with coverage of signal processing followed by image, video, and audio processing techniques.

After reading this book, you will be able to write your own programs for scientific and numerical applications.

What You Will Learn

● Understand the practical aspects of GNU Octave with math and programming-friendly abstractions

● Install GNU Octave on multiple platforms including Windows, Raspberry Pi, and Ubuntu

● Work with GNU Octave using the GUI, the command line, and Jupyter notebooks

● Implement 2D and 3D data visualization and analysis with GNU Octave

Who This Book Is For

Software engineers, data engineers, data science enthusiasts, and computer vision professionals.

Table of Contents

Frontmatter

Chapter 1. Introduction to GNU Octave

Abstract
We hope you have gone through the table of contents and the preface. If not, we highly recommend you do so. This is the very first chapter of this book and we welcome you to the exciting journey of learning GNU Octave.
Ashwin Pajankar, Sharvani Chandu

Chapter 2. Getting Started with GNU Octave and Jupyter

Abstract
In Chapter 1, you learned in detail how to get your Windows computer, Linux, and Raspberry Pi ready for working with GNU Octave and Jupyter Notebook. You also learned how to get started with GNU Octave programming and Jupyter Notebook. In this chapter, you will delve deeper into GNU Octave programming and you will mostly use Jupyter Notebook for programming demonstrations in interactive mode. The following is the list of topics you will learn and demonstrate in this chapter:
Ashwin Pajankar, Sharvani Chandu

Chapter 3. Data Types and Variables in Detail

Abstract
In Chapter 2, you learned basic concepts like naming conventions for variables, mathematical operations, getting help, and clearing the command prompt. You also saw an overview of global variables.
Ashwin Pajankar, Sharvani Chandu

Chapter 4. Loops, Functions, and Files

Abstract
In Chapter 3, you learned about arrays, matrices, and vectors in GNU Octave in detail. You will use these concepts in the remaining chapters to demonstrate the functionality offered by GNU Octave.
Ashwin Pajankar, Sharvani Chandu

Chapter 5. Data Visualization

Abstract
In Chapter 4, you learned about important programming constructs like decision making, loops, and user-defined functions. These programming constructs are very useful when you need to include the logic of decision making in your program. You also learned how to work with files of various formats and data from the Internet.
Ashwin Pajankar, Sharvani Chandu

Chapter 6. Data Analysis

Abstract
In Chapter 5, you learned how to visualize data with GNU Octave. You learned how to create various types of visualizations of the data you have, such as simple plots, error bars, and 3D visualizations. Data visualization techniques are very useful in business and scientific domains.
Ashwin Pajankar, Sharvani Chandu

Chapter 7. Signal Processing

Abstract
In Chapter 7, you learned about data analysis in GNU Octave in detail. In this chapter, you will learn about signals, different types of signals, Fourier transform, and how to use signals in GNU Octave.
Ashwin Pajankar, Sharvani Chandu

Chapter 8. Audio Processing

Abstract
In Chapter 7, you learned about processing signals with GNU Octave. Audio is a type of signal and its processing requires detailed knowledge of signal processing. So, as a continuation of the previous chapter, in this chapter you will learn how to process audio with GNU Octave. The following is the list of topics that you will explore in this chapter:
Ashwin Pajankar, Sharvani Chandu

Chapter 9. Image and Video Processing

Abstract
In Chapter 8, you learned about audio processing in GNU Octave in detail. In this chapter, you will use some of the concepts you learned about in Chapter 7 to understand image processing.
Ashwin Pajankar, Sharvani Chandu

Backmatter

Additional information

Premium Partner

    Image Credits