Setup

Octave

Octave is an opensource alternative to Mathematica. It is also way easier to install as it doesn't require creating an account, getting a license, installing via the manual installer...

# Fedora
sudo dnf install octave

# With flatpak - start 2 times slower
flatpak install flathub org.octave.Octave

Differences encountered

Here is a quick list of differences with Mathematica that requires manual action during the course.

  • Functions defined after usage are not found -> just move before using them

Easy execution

Install r and scr. Help: I don't have lxup !

lxup play base

Create a basic Octave script main.m

scr m

Run main.m script with Octave

r

Run any .m script with Octave

r anything.m

Run any Octave script in watch mode !

r -w anything.m

Random tips

Use Geogebra

TODO: demo