Table of Contents

1. Syntax

1.1. Variables

  • Vectors and Matrices
    • a = [1, 2; 3, 4];
    • Commas can be omitted.
    • x = 0:0.1:10 list with from 0 to 10 with step 0.1.
  • ans refer to the previous output

2. Packages

  • pkg install from the Octave command.

2.1. Forge

Octave Forge is no longer maintained. Use GNU Octave - Packages.

3. Reference

Author: Jeemin Kim

Created: 2026-07-16 Thu 21:33