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!

Do you think piracy is justified in this case?

    • stebo@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      12
      ·
      2 years ago

      not blaming op but the institution should provide licenses to the students or propose free alternatives if they exist

      • Hydroel@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        2 years ago

        I see no reason to use Matlab in education nowadays: both Octave and Python provide as many features, are as easy to use, and free. The teacher could have verified or made his class accessible through Octave with minimal effort, as OP pointed out. But they wouldn’t be bothered and required all the students in their class to buy a 70€ license each.

    • mafbar@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      5
      ·
      2 years ago

      What do you say to people whose position is “you are stealing their work; nothing is free”?

        • mafbar@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          I think I get that as well. I used to talk quite a bit about open-source to my friends, but looking back, it seemed quite preachy (maybe because I was quite young at the time), and it never really changed anything. This is especially the case since open-source (or free software) is a philosophical approach to technology that many people might be unfamiliar with or simply don’t care about. I just simply use open-source software, supports devs/foundations, and only will talk the necessary bits if someone asks me about it.

  • iconic_admin@lemmy.world
    link
    fedilink
    arrow-up
    45
    ·
    2 years ago

    I graduated with a BS in electrical engineering in May of this year. We used Matlab in multiple courses in the program. We were encouraged to purchase the student version of Matlab. However, all three professors in the program were 100% ok with students using Octave or whatever software you wanted, as long as the work got done.

    Your professor sounds like a dick.

    • mafbar@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      Even though I’m generally for open-source software, I know that in heavy duty use, highly niche specialisations, and in industries in general it’s difficult to find equally competent software. That’s why I put emphasize on my specific situation, where it’s an introductory course. Heck, we ended up doing what could be done in Python anyway.

  • randy@lemmy.ca
    link
    fedilink
    English
    arrow-up
    41
    arrow-down
    1
    ·
    2 years ago

    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.

    • fkn@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      2 years ago

      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.

    • iconic_admin@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 years ago

      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.

    • mafbar@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      I’m not sure what would have happened had I insisted. I imagine that they’d probably ask us to obtain it on our own though, based on my memory that they were insistent that everybody must have it.

      • IphtashuFitz@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        2 years ago

        I’m an old geezer, having graduated from college over 30 years ago now… This doesn’t have to do with piracy, but with professors. One advanced course I took covered topics that included AI and chaos theory. It was taught by a visiting professor from another country and she was terrible. It was clear she was just regurgitating what was in out textbooks without trying to really understand it.

        One day she was out and we had another professor with an actual background in AI fill in. We learned a lot that one day.

        Our college had anonymous evaluations that students would fill out on the last day of a course, and the college really pushed the claim that they were taken seriously. Before the day came to fill these out most of the students in the class got together and formed a plan. We all agreed on how we would fill out the questions. For example, one question asked what we liked best about the course. We all agreed to write something along the lines of “the day the professor was out and the other professor taught instead. We actually learned a lot that day”. We never saw that professor at our college after that year ended, and like to think our evaluations were a big part of the reason. The bottom line is that we provided a united front for our grievances through those anonymous evaluations.

        If your college offered similar sorts of course/professor evaluations I would have tried to do the same thing in this case. Get as many members of the class to band together and point out the issues of having to “obtain” MATLAB, and being unwilling to consider free alternatives. If your college doesn’t do these sorts of evaluations then getting multiple students to write complaints to the department head, etc. might be a viable alternative.

        • EuroNutellaMan@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          2 years ago

          This is a good idea. I am a student representative for public student housing and sometimes we have to resort to encourage other residents to do some “mail-bombing” (as in sending a lot of emails not the Teddy K method) to get things done.

          We also have tose evaluations, albeit we do not coordinate what to write there, our professors aren’t that bad and when one was it wasn’t necessary for her to get so many bad evaluations she was fired.

  • Willer@lemmy.world
    link
    fedilink
    English
    arrow-up
    16
    ·
    edit-2
    2 years ago

    Our uni basically transitioned to python plus matplotlib at some point. Not because they wanted to get rid of the paid matlab license but because python got quite popular.

    I think the students still get the matlab key for free.

    • mafbar@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      It really depends on the course, but I think for general undergrad stuff, Python should be capable for most things.

  • The fact that numerical analysis courses still shill Matlab is just incomprehensible to me. All the computer sessions can easily be done with no change of syntax using either GNU Octave or Scilab, or if one is ready to change languages, Python + NumPy. The professors who still keep shilling Matlab should be fired.

    • FigMcLargeHuge@sh.itjust.works
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      2 years ago

      The professors who still keep shilling Matlab should be fired.

      Don’t a lot of professors write their own textbooks, and then shill those to the students as mandatory? Good luck upsetting this apple cart.

      • mafbar@lemmy.worldOP
        link
        fedilink
        arrow-up
        4
        ·
        2 years ago

        I’m not sure how it works in the US but where I’m from, the way lessons are conducted are typically like this:

        1. Professors hand out lecture notes, typically in the PDF format. So, students will either print or just use their phones/laptops to follow along the lectures. It’s either this way, OR
        2. Professors will list out recommended readings for this course, and it’s up to you how you obtain the source material. Most people will probably just download the PDFs and take down notes during lectures.
        3. We were never required to buy any books.

        So I’m personally unfamiliar with the “shilling” of textbooks which cost up to hundreds of dollars for practically the same content, which, from what I’ve heard, is quite common in US colleges. This seems to be a very strange concept to me.

      • AlmightySnoo 🐢🇮🇱🇺🇦@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        2 years ago

        oh boy if we’re going to list all the corruption that takes place in academia it would never end: shilling textbooks and proprietary software (that’s the only reason Matlab survives), the usual power struggles (classic), professors forcing their phd students to add them as co-authors (again a classic, also happened to me), “anonymous” reviewers in “prestigious” journals informally conditioning the acceptance of your paper on you citing one of their papers (happened to me many times) etc…

    • Fried_out_Kombi@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      2 years ago

      I had a numerical methods class where the prof let us do the assignments in whatever language we wanted. It was nice because 1) fuck MATLAB, and 2) I’m a shill for Julia, so I got to do all my assignments in Julia. I saw on github at least one previous student for the course had done their assignments in Fortran. I suspect the vast majority did their assignments in Python, though.

      • mafbar@lemmy.worldOP
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        I think that’s ideal! It’s supposed to be a lesson on numerical methods, not MATLAB.

    • mafbar@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      I mentioned it to a couple of friends, but I think I didn’t get it across well to them that GNU Octave is supposed to be syntactically compatible with MATLAB. Also, they’re more comfortable using established software since everybody else is using them anyway.

      Speaking about numerical analysis courses, I feel like one should be able to choose what programming languages they wish; the course should just aim to teach the fundamentals/principles of numerical methods, not what language to use. I get that it is much more convenient to streamline software choice, but still, why not use Python over MATLAB for undergraduate introductory courses?

  • ghariksforge@lemmy.world
    link
    fedilink
    arrow-up
    11
    arrow-down
    2
    ·
    2 years ago

    I think Python has killed the main use case of MATLAB already. Schools should not be teaching MATLAB.

    • Bitswap@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      2 years ago

      Hard disagree. Nothing comes close to MATLAB + Simulink. Nothing is even trying to cover the same usages.

    • mafbar@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      2 years ago

      I’m not sure about that since I’m not in any field that requires MATLAB at the moment. However, my specific case is for undergraduate introductory courses, and perhaps even at schools. To go even beyond this conversation a bit, any numerical / computational / algorithmic principles should probably be taught using Python. I had another numerical methods course where students can use any language they want, either C or C++ or Python. So I know it’s possible.

        • mafbar@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          I agree with that. It’s similar to Photoshop or Premier Pro. Sure, you could maybe, perhaps use open-source alternatives. But you’ll have to get used to a different set of (usually separate) software, dissimilar to what people all over the world uses.

  • CaptainBlagbird@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    2 years ago

    I think I know that course coordinator xD

    We had pretty much the same experience. The guy was even kinda pissed off when I said the same could be done in Python too without much additional effort. So our whole class also used the “free student version” 🏴‍☠️

    In my opinion it makes a huge difference between pirating for education compared to pirating for commercial use.

    • mafbar@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      As another commentor said, it kinda depends on what is the purpose of the course. If the purpose was to actually teach you the MATLAB ecosystem, then yea, sure, teach it all you want, but the institution has to provide the software.

      But for an intro course? The students should probably be able to just use what they want.

      • CaptainBlagbird@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

        In another course (statistics if I remember correctly) by another teacher, we actually had to interpret and write MATLAB code on paper, so it was absolutely necessary to be familiar with it even though it was not the actual topic of the course and it was never mentioned as a necessary tool for the course or whole study. There were only books listed that we had to get beforehand, which is pretty normal. Imo they should at least have listed it there, or provided it to the students.

  • hungofhydra@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    I graduated from my STEM Course on Feb this year. In my 4.5-year course there are total of 5 classes in which we must use MATLAB. But all of my professors agreed to let student use alternative, such as Octave and Python. I remembered vividly one of my classmate who got highest scores somehow use Python and draw a chart that’s even more beautiful and easy to read than most of MATLAB users.

    4 of my professors encouraged us just pirate MATLAB. One even gave us his pirate version that he saved in Google Drive.

  • mtcerio@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    Thanks for your story. I used both MATLAB and Octave, and while the language syntax is the same and most of the built in functions and basic toolbox functions are similar, Octave come short as soon as you start using graphics and more advanced toolboxes.

    • mafbar@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      2 years ago

      You’re welcome!

      I’d imagine that for some high-level computational work, GNU Octave may not fare that well. For an introductory computational course, I think it’s more than enough, probably? It reminds me of many other open-source projects - they may not be up to par when it comes to their proprietary counterpart.

  • xemnas@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    Well, you were definitely way smarter than me, since I tried to do exactly the same thing two years ago but I couldn’t make for the life of me GNU Octave to behave anywhere similar to Matlab, so instead I created a virtual machine.

    Congratulations, my friend!

    • mafbar@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Well, one context that I left out was that the course was pretty simple. We learned some basic loops, graphing, matrix operations, and writing some basic scripts to solve some problems. If you need a higher level functionality, then you’d probably struggle with GNU Octave, I don’t know.

  • EuroNutellaMan@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    I had a let’s say introductory course on computational methods for biotech and while matlab was mentioned they taught us python instead and they had us use free software (Thonny)

  • dewritoninja@pawb.social
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    Not from the US am from Ecuador . In my numerical analysis class my professor showd us how to pirate mathlab the first class and gave us a bunch of pdfs so we wouldn’t have to buy any books. I already had my bf’s uni’s licence so i didn’t do that but I did dabble with octave a bit on my Linux laptop. Piracy is so widespread in public universities here that nobody thinks about it as being wrong. Personally I always believe that piracy is the tool for the democratization of knowledge. I wouldn’t know half of the stuff I know if it wasn’t for pirated books. It’s literally the reason a lot of us in south America can scape poverty.

    • Chadus_Maximus@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      2 years ago

      Based eastern European professors do the same. Doubly hilarious because there was some freshman who was afraid of being kicked out of he were to be caught pirating by probably the same professor who showed the art of pirating for those who don’t know how.

      I showed the professor how to use Jackett so that was neat.