I would just like to share a story, and probably an opinion as well. When I was doing my STEM undergraduate degree a couple of years ago, I took a course in which I had to use MATLAB. I won't disclose too much information, but it was a course involving computation.
Well, we (the students) weren't given a student/institutional license of any sort, but the course coordinator still insisted on using MATLAB. We took it as an implicit instruction to "somehow" obtain MATLAB. In the end, one guy in our class pirated it and distributed it the whole class.
Before that though, I did approach my course coordinator, asking them if it's possible to use other software like GNU Octave, which is a clone of MATLAB. Personally I think it should also possible to use any other programming language like Python for example, since the important part is the computation part, in my opinion. They refused any discussion and did not even consider alternatives, instead basically forcing us to "obtain" MATLAB. How else? Well.
As I have said, we all pirated it in the end.
I did something quite interesting though, which is that for every quiz, assignment, and projects that we had, I'll run the same exact MATLAB code on GNU Octave, to see if it's compatible. And it is. It works flawlessly. There's only one function that GNU Octave didn't support back the (this was a couple of years ago), and even then, it wasn't an essential feature, you could use other software for that function as well.
By the end of that semester, I had compiled almost all input/output of the MATLAB code alongside its GNU Octave's counterpart, to demonstrate that we didn't need to pirate MATLAB to get through this undergraduate course.
Regrettably though, I didn't follow through. So sad!
From a quick search, a MATLAB student license is $50 (USD, probably), which is less than most textbooks but still not nothing. Whether piracy is justified or not, I just want to point out that this is how they get you. Microsoft gives cheap Office licenses to schools and Adobe turns a blind eye to amateur piracy of Photoshop because they know that getting you comfortable with their software early means you're more likely to pay to keep using it professionally later. I don't know if MathWorks had a hand in the MATLAB requirement (I would bet it was just a prof who wants to stick with what they know), but good on you for trying to push for alternatives and testing against Octave.
Most schools that require Matlab in the US provide it for free to their students via their student license servers... It's practically free for the university if they have any sort of research program at all.
Although, this might have changed... During my time a rotating student license only cost the university like 15 bucks and the university only needed enough for one class at a time usually.
I couldn’t agree more, this is how they get you. One of the things I miss the most about being a student is access to software. Auto desk gives you completely free access to their entire catalog as long as you’re a student. A professional license for AutoCAD or Revit will set you back $2000 a year or more, every year. However, If you work for a company they will probably pick that up but if you’re a freelancer or even if you work for a small firm, that licensing fee can be really costly.