GNU Octave

https://www.gnu.org/software/octave/

sudo apt install -t stretch-backports octave

Powerful mathematics-oriented syntax with built-in plotting and visualization tools Free software, runs on GNU/Linux, macOS, BSD, and Windows Drop-in compatible with many Matlab scripts