Reader small image

You're reading from  GNU Octave Beginner's Guide

Product typeBook
Published inJun 2011
Reading LevelBeginner
PublisherPackt
ISBN-139781849513326
Edition1st Edition
Languages
Right arrow
Author (1)
Jesper Schmidt Hansen
Jesper Schmidt Hansen
author image
Jesper Schmidt Hansen

Jesper Schmidt Hansen holds a Ph.D. in soft-material science and is currently doing research in the field of nanofluidics and dynamics at Roskilde University, Denmark. He has been using GNU Octave on a daily basis for many years, both as a student and later as a researcher. The applications have varied from solving partial and ordinary differential equations, simple data plotting, and data generation for other applications, to dynamical system investigations and advanced data analysis.
Read more about Jesper Schmidt Hansen

Right arrow

Basic arithmetic


Octave offers easy ways to perform different arithmetic operations. This ranges from simple addition and multiplication to very complicated linear algebra. In this section, we will go through the most basic arithmetic operations, such as addition, subtraction, multiplication, and left and right division. In general, we should think of these operations in the framework of linear algebra and not in terms of arithmetic of simple scalars.

Addition and subtraction

We begin with addition.

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
GNU Octave Beginner's Guide
Published in: Jun 2011Publisher: PacktISBN-13: 9781849513326

Author (1)

author image
Jesper Schmidt Hansen

Jesper Schmidt Hansen holds a Ph.D. in soft-material science and is currently doing research in the field of nanofluidics and dynamics at Roskilde University, Denmark. He has been using GNU Octave on a daily basis for many years, both as a student and later as a researcher. The applications have varied from solving partial and ordinary differential equations, simple data plotting, and data generation for other applications, to dynamical system investigations and advanced data analysis.
Read more about Jesper Schmidt Hansen