Octave is mostly compatible with Matlab & user reported that it runs fine in the Pi4

Last Updated on April 2, 2024 by pg@petergamma.org

Advantages of Octave

  • Octave is mostly compatible with Matlab.
  • Most matlab functions can be made to run with very little change.
  • With careful coding, you can get your code to run without change in Matlab and Octave.
  • A user reported that it rund fine on a Pi 4:

«Just installed octave on my Pi4, running recent OS, runs fine. Also runs fine when used with sudo.»

https://forums.raspberrypi.com/viewtopic.php?t=275738

Disadvantages of Octave:

  • Speed: Octave is generally slower than MATLAB, particularly when it comes to large-scale computations and complex operations.
  • Toolboxes: Octave has fewer built-in toolboxes and functions than MATLAB, which might limit its capabilities for certain specialized tasks
  • This could be a solution to run Peter Chartltons respiratory rate estimation Matlab toobox on a Pi .
  • Jeck if there are legal issue with that, and find a different solution if there are.