What does matlab have that other languages don't? Are cucks really paying $100 for few mathematical functions and array starting with 1?

What does matlab have that other languages don't? Are cucks really paying $100 for few mathematical functions and array starting with 1?

Mike Stoklasa's Worst Fan Shirt $21.68

The Kind of Tired That Sleep Won’t Fix Shirt $21.68

Mike Stoklasa's Worst Fan Shirt $21.68

  1. 2 years ago
    Anonymous

    >paying
    Piss-easy
    Good default plotting tools
    Simulink
    Built-in GUI building

    • 2 years ago
      Anonymous

      I dont pay. Institution pays.

      It got scientifical libraries out of box.

      Language is great.

      Everything what can be done in matlab can be done in Python easily

      • 2 years ago
        Anonymous

        This is your brain on Python

        • 2 years ago
          Anonymous

          >noooo my moneysinking IS heckin' justified

        • 2 years ago
          Anonymous

          >python is so great it makes users think thay can accomplish anything with it
          checks out

      • 2 years ago
        Anonymous

        Please do tell me how you convince a research department to switch to a different set of tools using Python?

        The equation changes the moment you are not a solo basement dev

        • 2 years ago
          Anonymous

          The day your team wants to realease something usefull soft to the comunity (not just a script) they need to move to python. Even if they somehow think to create privative code to selll, just using matlab would destroy any posibble proffit.

        • 2 years ago
          Anonymous

          >Please do tell me how you convince a research department to switch to a different set of tools using Python?
          "It's free"

        • 2 years ago
          Anonymous

          Lmao what? All major unis have switched or have started switching from MATLAB to Python.
          Almost all public STEM libraries and research is being done with Python.

      • 2 years ago
        Anonymous

        >can be done in Python easily
        suppose you've the following file
        Day1 Day2 Day3 Day4 Day5 Day6 Day7
        95.01 76.21 61.54 40.57 5.79 20.28 1.53
        23.11 45.65 79.19 93.55 35.29 19.87 74.68
        60.68 1.85 92.18 91.69 81.32 60.38 44.51
        48.60 82.14 73.82 41.03 0.99 27.22 93.18
        89.13 44.47 17.63 89.36 13.89 19.88 46.60

        show how to import the data as matrix
        in matlab it's
        importdata(filename,' ',1);

        • 2 years ago
          Anonymous

          > importdata(filename,' ',1);

          same in python

          • 2 years ago
            Anonymous

            NameError: name 'importdata' is not defined

          • 2 years ago
            Anonymous

            You're really comparing languages by looking at the standard library?

          • 2 years ago
            Anonymous

            matlab is a package not a language

          • 2 years ago
            Anonymous

            from their website:
            MATLAB® combines a desktop environment tuned for iterative analysis and design processes with a programming language that expresses matrix and array mathematics directly.

            matlab is also / includes a programming language, so it can be compared to other programming languages

          • 2 years ago
            Anonymous

            Obviously you have to import matlab first.

        • 2 years ago
          Anonymous

          numpy's loadtxt says hi. You could also use pandas if you want

        • 2 years ago
          Anonymous

          import pandas as pd
          pd.read_csv(filename, sep='t')

          • 2 years ago
            Anonymous

            mathcucks btfo yet again

          • 2 years ago
            Anonymous

            > pandas
            > written in: C
            Anon, loading a CSV file of all numbers isn't anything special. It was a bad example in the first place.

          • 2 years ago
            Anonymous

            >import pandas as pd
            >pd.read_csv(filename, sep='t')
            Right. Now assign the matrix to a bus in simulink, select columns 1 and 6 as sources for a variable coefficient transfer function, run it with an implicit, fixed-step solver and compile the validated model to c code for a cortex-based microcontroller, while also generating an executeable file for your co-workers without a license.
            Anyone comparing matlab with python has not worked a single professional minute.

            Show me how to simulate a simple RLC circuit in Python

            Pythonusers can not even come up with the trivial differential equation

            homie no one here knows what an RLC circuit is, including me.

            [...]
            from vpython import *

            Emf = 5
            C = 1e-4
            L = 0.2
            R =10
            Q = C * Emf
            I = 0
            t = 0
            dt = 0.0001
            w0 = 219

            tgraph = graph(title="RLC Circuit", xtitle="Time (s)", ytitle="V (volts)", width=500, height=350)
            fl = gcurve(color = color.blue)
            print("w0 = ", 1/sqrt(L*C))

            while t < .8:
            alpha = Emf * cos(w0 * t) / L + Q / (L * C) - I * R / L
            I = I + alpha * dt
            Q = Q - I * dt
            t = t + dt
            Vc = - Q / C
            fl.plot(t, Vc)

            w0 = 2 * pi / 2.87e-2
            print("w0 = ", w0, " rad/s")

            Sir please do the needful and change the solver from a fixed-step to a variable-step solver. Your simulation takes way too many resources :^)
            >not using state-space notation
            Ngmi

          • 2 years ago
            Anonymous

            >Anyone comparing matlab with python has not worked a single professional minute.
            Probably hasn't worked with anything where matlab could conceivably be any useful, which is an extremely narrow set of things, typically things that software engineers (i.e. most of people who actually professionally write code) never deal with. But not necessarily hasn't worked at all.

          • 2 years ago
            Anonymous

            >typically things that software engineers
            not a single software engineer works with matlab, it's for automation engineers, chemists, mathematicians and other non-programmer kind of specialists that need a simple, effective preferably graphical computation/solving/helper package

          • 2 years ago
            Anonymous

            Neither does with python. C/Java/C# are real languages.

          • 2 years ago
            Anonymous

            This guy gets it.

          • 2 years ago
            Anonymous

            >typically things that software engineers
            not a single software engineer works with matlab, it's for automation engineers, chemists, mathematicians and other non-programmer kind of specialists that need a simple, effective preferably graphical computation/solving/helper package

            Many labs are moving away from Matlab because using closed-source modules is not kosher in academia. Some publications will straight up reject your paper if they get a whiff of proprietary code.

          • 2 years ago
            Anonymous

            >Some publications will straight up reject your paper if they get a whiff of proprietary code.
            where the frick do you live? in yurop no one will bat an eye if you submit your work in anything other that Industry© Standard™ Matlab®

          • 2 years ago
            Anonymous

            >where the frick do you live?
            in the US (the center of the academic world). if you haven't noticed the trend towards open-sourced code (NeurIPS, IJCB, ECCV, KDD, etc.) at conferences then you yuropoors are more out of touch than i'd thought

          • 2 years ago
            Anonymous

            Name specifics please because in US Engineering Academia Matlab is the industry standard. They also gave us python and I had to use it but I found it much less user friendly than Matlab and with many fewer built in functions.
            >muh modules
            >muh libs
            Shut up homosexual that is why Linux sucks.

          • 2 years ago
            Anonymous

            IEDM will just reject you if you try and publish a simulation paper which is not your code.

          • 2 years ago
            Anonymous

            >Now assign the matrix to a bus in simulink, select columns 1 and 6 as sources for a variable coefficient transfer function, run it with an implicit, fixed-step solver and compile the validated model to c code for a cortex-based microcontroller, while also generating an executeable file for your co-workers without a license.
            This is current age "lego engineering" where you just use plugins and tools others made, don't understand linear algebra or automation control theory enough to just write your own stuff in Python, or any language for that matter. I bet you feel really proud for knowing all those really big words, lmao

          • 2 years ago
            Anonymous

            You obviously don't understand that shit either since you think you need to solve linear algebra equations to upload code to a microcontroller

          • 2 years ago
            Anonymous

            >"select columns 1 and 6 as sources for a variable coefficient transfer function"
            up a compiler is "a lot of job"
            lmao, lego engineer

          • 2 years ago
            Anonymous

            You need to more inclusive to those who ARE NOT able to DESIGN, SCRIPT and VALIDATE complex systems in the REAL WORLD

            We already made made cgi and game design simpler with BLOCKS and it is only matter of time for all of programming to be ACCESSIBLE to others OKAY

          • 2 years ago
            Anonymous

            You need to more inclusive to those who ARE NOT able to DESIGN, SCRIPT and VALIDATE complex systems in the REAL WORLD

            We already made made cgi and game design simpler with BLOCKS and it is only matter of time for all of programming to be ACCESSIBLE to others OKAY

            I am legitimately disgusted by the amount of Dunning-Kruger and unwarranted feeling of superiority. As an automation engineer you specifically learn the mathematics behind processes and how do describe a system, or how to control a system. You learn what's the best model to describe something like a car, learn the various control schema and their mathematic descriptions and properties, learn about trajectory generation, how to transform feedback with noise, etc.

            None of it has anything to do with learning how to write from scratch a decent tool that lets you write down the mathematical abstraction fast and then run efficient simulation with convenient visualization tools, or prototype it on a microcontroller without writing the same equations once again in C. You're not interested in using inconvenient tools and reinventing numerical integration, software optimization, GUI, or whatever. Those have nothing to do with your area of expertise and are merely a roadblocks at most.

            Btw all those guys who worked with Matlab at my uni were old white dudes with PhDs.

          • 2 years ago
            Anonymous

            Before simulink when designing a control system or anything like that you would draw the system by hand first with pencil with your group of people. Then do all the math. Then write the code. Then test the code. If it doesn't work how you want it you go back to the drawing board adjust your model change the code then retest. Simulink removes all these steps and combines it basically into one. You can simulate and adjust your model before producing the code. The math depending on the system gets very complicated and error prone if done by hand or computer and cumbersome definitely with complicated shit and working on a group.

          • 2 years ago
            Anonymous

            >Now assign the matrix to a bus in simulink
            your specific data structures are irrelevant. anything your "bus in simulink" can do can be done by a pandas dataframe or a numpy ndarray.

            >select columns 1 and 6
            you can select columns in pandas dataframes and numpy ndarrays.

            >as sources for a variable coefficient transfer function
            scipy.signal.TransferFunction

            >run it with an implicit, fixed-step solver
            scipy and sklearn have iterative solvers of various kinds -- pick your favorite

            >compile the validated model to c code for a corex-based microcontroller
            now you're just asking me to solve your course homework. if the part of this workflow that causes you to break down in tears is compiling python code to C, there are many utilities for doing this of various complexity but i have zero expertise with them so have with the requisite 5 minute google search.

            >while also generating an executeable file for your co-workers
            no executables necessary when dealing with python -- they can just run the source

            >without a license
            lmao moron

            t. PhD student

          • 2 years ago
            Anonymous

            word

          • 2 years ago
            Anonymous

            >all of this cope when Julialang is right there
            there is literally an entire language developed with the aim (which has been accomplished, in my experience) of being "Matlab, but with all the benefits of Python"
            everyone who i have worked with that does any real applied math or scientific computation uses Python, C, Julia, or Fortran. none of them have used Matlab outside of specific courses in undergrad/grad school because it is horrid and there are much better tools out there.

        • 2 years ago
          Anonymous

          pandas.import_csv("troon.goon")

        • 2 years ago
          Anonymous

          >matlab gay has literally never heard of numpy or pandas
          lmao

        • 2 years ago
          Anonymous

          Show me how you do this with Matlab versions prior to 2020, because you are going to find licenses cost so fricking much that lots of orgs don't upgrade.

          Bonus points: you can't do it with it Windows-only function calls.

          • 2 years ago
            Anonymous

            >Show me how you do this with Matlab versions prior to 2020
            importdata
            it's there since ever

      • 2 years ago
        Anonymous

        MATLAB is actually much faster than Python. It handles matrices better too.

        • 2 years ago
          Anonymous

          >MATLAB is actually much faster than Python
          When people say "Python" in a scientific computing context, they really mean Python + NumPy/SciPy. All the heavy lifting is done in libraries written in C.

          • 2 years ago
            Anonymous

            So why do I see a large performance gain by using a 'just in time compilation' like numba or cython?

      • 2 years ago
        Anonymous

        *Julia

        • 2 years ago
          Anonymous

          >making a plot in Matlab: .1s
          >making a plot in Julia: 30s
          no thanks

          • 2 years ago
            Anonymous

            Time to first plot does suck, but you more than make up for that time by having better optimization, and dealing with less idiocy in the language.

      • 2 years ago
        Anonymous

        MATLAB has a based GUI

      • 2 years ago
        Anonymous

        Show me how to simulate a simple RLC circuit in Python

        • 2 years ago
          Anonymous

          >no answer
          Oh no no no pythonsisters...?

          • 2 years ago
            Anonymous

            homie no one here knows what an RLC circuit is, including me.

            Show me how to simulate a simple RLC circuit in Python

            from vpython import *

            Emf = 5
            C = 1e-4
            L = 0.2
            R =10
            Q = C * Emf
            I = 0
            t = 0
            dt = 0.0001
            w0 = 219

            tgraph = graph(title="RLC Circuit", xtitle="Time (s)", ytitle="V (volts)", width=500, height=350)
            fl = gcurve(color = color.blue)
            print("w0 = ", 1/sqrt(L*C))

            while t < .8:
            alpha = Emf * cos(w0 * t) / L + Q / (L * C) - I * R / L
            I = I + alpha * dt
            Q = Q - I * dt
            t = t + dt
            Vc = - Q / C
            fl.plot(t, Vc)

            w0 = 2 * pi / 2.87e-2
            print("w0 = ", w0, " rad/s")

          • 2 years ago
            Anonymous

            >homie no one here knows what an RLC circuit is, including me.
            Filtered

          • 2 years ago
            Anonymous

            >RLC circuit is, including me
            resistors, capacitors, inductors... i thought IQfy was filled with CS students who have taken physics 2?

        • 2 years ago
          Anonymous

          Runge-Kutta 4 can be implemented easily in Python and Numpy. Also IIRC there's something like Modelica in Python.

        • 2 years ago
          Anonymous

          why on earth would you do this in python or matlab? just use any of the popular spice simulators: pspice, mc12, ngspice, ltspice, etc.

      • 2 years ago
        Anonymous

        I can tell you are not used to Matlab.

        They are not comparable since they serve different purposes.

        You can say the same about C. Everything can be done using C still you are not moronic enough to do your own simulink or making a web server using c.

      • 2 years ago
        Anonymous

        >Python
        I used Matlab professionally for 6 months, and before that I used it in uni.

        Then I used Python for the first time, and it sucks. Matlab's ide is so nice for debugging, for inspecting variables that contain matrices and other complicated structures, and for other things. These things make a big difference.

        Plus, all the available libraries with great, to the point documentation with easy to understand examples for everything. Open source documentation is absolute garbage, and guido is a moron.

        • 2 years ago
          Anonymous

          >matlab’s ide is better
          You know you can use any ide you want for python right? PyCharm has every feature you’ve ever wanted in an ide, and the community edition is free.

          • 2 years ago
            Anonymous

            >You know you can use any ide you want for python right
            Yes but that's not a real answer.
            You don't tell someone who likes their current IDE (one designed and maintained for the kind of work they do) that they really need to try the latest meme IDE from your favorite company that has every feature under the sun.

        • 2 years ago
          Anonymous

          >ide for debugging and inspecting variables
          You get all that in VSCode, PyCharm and JupyterLab you fricking homosexual.

          I can tell you are not used to Matlab.

          They are not comparable since they serve different purposes.

          You can say the same about C. Everything can be done using C still you are not moronic enough to do your own simulink or making a web server using c.

          You don't understand how Python is used for scientific programming.

          • 2 years ago
            Anonymous

            >VSCode, PyCharm and JupyterLab
            all shit compared to matlab

        • 2 years ago
          Anonymous

          >guido is a moron
          I lost all respect for this guy after he tried to kick map/filter out against the will of the community. I dare you to try to use a list comprehension for a mildly complex process with more then two variables, it is a pain in the rear. Also Python 2 had a better syntax, everyone knows that.

          Python is a entry level gateway language of the worst kind. Nobody does whitespace indention and all those quirky design decisions like splitting on a delimiter instead of the string (wtf?), Pythons OOP is ugly, Python tries to avoid clean and proven functional features yet sneaks in stuff like function decorators which most Pytards probably don't even understand. Functions are first class yet you cant do something like:
          a = b (if c < 0 - else +) c

          I coded in dozens of languages and Python is the one language where I always have to look up which moronic language construct I have to use here.

          Pythonic my ass.

          • 2 years ago
            Anonymous

            I can only aspire to be this based

          • 2 years ago
            Anonymous

            >splitting on a delimiter
            You're thinking of join.

            >Python OOP is ugly
            All OOP is ugly. At least Python is concise.

            >function decorators which most Pytards don't understand
            Because most Pytards don't need it.

            >functions are first class yet you can't do [horrible shit with operators]
            Non sequitur. Operator frickery is bad and always damages the readability of your code.

      • 2 years ago
        Anonymous

        Plotting ain't that good but anaconda+spyder will do almost everything

      • 2 years ago
        Anonymous

        Most people who use Matlab don't pay for it out of pocket and are part of some larger organization that pays for their licenses. More reasonable comparisons to Matlab are GNU Octave and R Studio.

      • 2 years ago
        Anonymous

        Where is the python alternative to simulink?
        I'll answer the question for you, there is no alternative at all. Only thing that you can kind of do the same is LabVIEW but obviously you can't poop out your C code with lab view so its not really an alternative.

    • 2 years ago
      Anonymous

      Non of those are in any way true.
      >Piss-easy
      Not compared to any other scientific scripting language
      >Good plotting
      Kek. Taking matlab plots and getting something publishable out of them is a life long goal.
      >Simulink
      really Black person
      >GUI building
      Even fricking Visual basic is better than Matlab GUIs.

      Matlab is just moron physics post docs being autistic. Ignore it.

      • 2 years ago
        Anonymous

        libraries that are reliable, instead of the shit made by the ~~*community*~~ that python has.
        best interactive plotting window in the market.

        >publishable
        only brainlet academia cares about publishing. engineers have stuff to build.

        • 2 years ago
          Anonymous

          >only brainlet academia cares about publishing. engineers have stuff to build.
          the most lucrative jobs in engineering are all research positions in gayMAN companies you absolute dunce
          the people consistently making 500k per year are almost always research scientists whose sole goal is to publish or lead a research project

          • 2 years ago
            Anonymous

            lead a researcher for private company != brainlet graduate student trying to publish papers to make his resume look pretty

          • 2 years ago
            Anonymous

            >moving the goal posts
            your post was moronic and i pointed it out. just accept you were wrong and move on, moron.

          • 2 years ago
            Anonymous

            >engineers have stuff to build.
            this is the goalpost since the beggining, smoothbrain.

          • 2 years ago
            Anonymous

            oh okay you're illiterate as well
            carry on, then

          • 2 years ago
            Anonymous

            R&D is part of building. publishing is not. maybe you will realize this if you get an engineering job one day.

          • 2 years ago
            Anonymous

            >R&D is part of building.
            the people in charge of R&D (the real R&D that leads to huge salaries) are all primarily occupied with publishing
            this is the reason papers published by Google, FacebookAI, and other industry research labs make waves while your codemonkey "engineering" job is buried underneath 5 levels of bureaucracy

          • 2 years ago
            Anonymous

            google and facebook release only the papers that benefit them. it is a part of their business model to attract investors. you wouldn't know that, of course.

          • 2 years ago
            Anonymous

            >shifting goal posts again
            sasuga, anon

            >you wouldn't know that, of course.
            i'm more familiar with the publishing process that you will ever be, seeing as i have actual publications tied to my name lmao

          • 2 years ago
            Anonymous

            >i have actual publications
            so that's why you are so butthurt to have your mediocrity exposed to you

            >it is a part of their business model to attract investors.
            ah so you concede that publishing papers is productive work
            thansk for defeating your whole argument

            I never said publishing is not work though. I said:
            >only brainlet academia cares about publishing
            and it is still true. the majority of the work is still kept private.

          • 2 years ago
            Anonymous

            >so that's why you are so butthurt to have your mediocrity exposed to you
            you're the one coping and seething lmao

          • 2 years ago
            Anonymous

            >lmao

            >>only brainlet academia cares about publishing
            yet you conceded that Google and Facebook care about publishing
            i bet your big engineering brain really rakes in the big bucks

            >i bet your big engineering brain really rakes in the big bucks
            thanks anon. you're welcome

          • 2 years ago
            Anonymous

            pathetic post

          • 2 years ago
            Anonymous

            >>only brainlet academia cares about publishing
            yet you conceded that Google and Facebook care about publishing
            i bet your big engineering brain really rakes in the big bucks

          • 2 years ago
            Anonymous

            >it is a part of their business model to attract investors.
            ah so you concede that publishing papers is productive work
            thansk for defeating your whole argument

      • 2 years ago
        Anonymous

        Give me ANY other piece of software that can produce a plot like this in under 10 lines of code.

        • 2 years ago
          Anonymous
          • 2 years ago
            Anonymous

            Mathematica is also based.

        • 2 years ago
          Anonymous

          Octave is pretty close, but yeah MatLab is still better. Even better, if you know how to datamine the figure objects, you can recover the original data. That has saved my ass a few times.

        • 2 years ago
          Anonymous

          finn detected

        • 2 years ago
          Anonymous

          R/Rmarkdown can do that and make it pdf for you at runtime lol.

        • 2 years ago
          Anonymous

          bro people do shit like this in R every day it is one of the most trivial things you can do with that language
          literally one line to make a visual out of a stats data struct in R

        • 2 years ago
          Anonymous

          gnuplot

        • 2 years ago
          Anonymous

          scilab

        • 2 years ago
          Anonymous

          Isn't plotting in MATLAB really moronic? I remember reading it in uni and it was some weird shit like "hold on" and stuff. I don't remember exactly but the fact it wasn't just a function bewildered me

          • 2 years ago
            Anonymous

            just make your institution/company pay for it.

            hold on is for adding the stuff you are going to plot to the current figure without creating a new one. it's useful sometimes.

    • 2 years ago
      Anonymous

      just use Raylib

  2. 2 years ago
    Anonymous

    I dont pay. Institution pays.

    It got scientifical libraries out of box.

    Language is great.

    • 2 years ago
      Anonymous

      >Language is great

  3. 2 years ago
    Anonymous

    pre-saved algorithmes
    virtual calculator to show lnx linear equations
    is more based on visual mathematic

    • 2 years ago
      Anonymous

      >pre-saved algorithmes
      you mean libraries?

  4. 2 years ago
    Anonymous

    Simulink but the idiots dont know Open Modelica exists

  5. 2 years ago
    Anonymous

    >What does matlab have that other languages don't?
    Other than being one of the best, if not the best, programming language? It's a pretty powerful and versatile.

    Also, it's the standard in my field.

    • 2 years ago
      Anonymous

      >Other than being one of the best, if not the best, programming language?
      Only within its domain. There's a lot of things that people do with programming languages that Matlab simply can't do. (For example, you'll never run it on an embedded 16-bit microcontroller, for example, but that's something that some people need to program for. It's also rather strongly ill-suited to doing web service programming, which tends to be much more about string processing and async I/O and not numeric processing. And I've never heard of anyone running it in a browser or writing games or operating systems in it.)
      Programming is a wide wide open space.

      • 2 years ago
        Anonymous

        >you'll never run matlab on an embedded 16-bit microcontroller
        i have done that, will continue doing it and will never stop doing it. matlab transpiles to C that can run on anything

        • 2 years ago
          Anonymous

          >that can run on anything
          Probably not; I bet it assumes it's got floating point.

          • 2 years ago
            Anonymous

            C does software float on anything, nig/g/a

    • 2 years ago
      Anonymous

      Frick off unigay, cope and learn javascript

  6. 2 years ago
    Anonymous

    Why not just use Julia, unlike matlab is Open Source and it was made precisely for scientific computing.

    • 2 years ago
      Anonymous

      Julia is garbage
      https://yuri.is/not-julia/

      • 2 years ago
        Anonymous

        This is exactly how the free software community as a whole operates.

        When you work for free the only compensation you get is pride, and for such people, there are *no* *refunds*.

  7. 2 years ago
    Anonymous

    Simulink is based and for chemical engineers only. You're not allowed to be one of us

  8. 2 years ago
    Anonymous

    $100? Try $20k per machine.

    • 2 years ago
      Anonymous

      If you buy a raspi 400 you get a free copy of Matlab. I doubt they'd be shipping it as a freebie on a $100 toy computer if it was a $20k piece of software.

      • 2 years ago
        Anonymous

        >If you buy a raspi 400 you get a free copy of Matlab.
        you get a free copy of mathematica too, which is better

      • 2 years ago
        Anonymous

        >home license
        It begins at $1000 a year, around three times that for a perpetual license. With Add-Ons that price goes up. A lot.

  9. 2 years ago
    Anonymous

    Drivers for some obscure research tools.

  10. 2 years ago
    Anonymous

    >What does matlab have that other languages don't?
    65 years old math professors who doesn't care about learning 6th language in their career and just want to write down that damn formula.

  11. 2 years ago
    Anonymous

    It depends on what you mean by "other languages"
    regarding other GPL, matlab is more suited for math/eng application
    I don't know other DSL enough to compare them, they are pretty much all based on the same open library/specification but what's change is the syntax and perfomance I guess

    • 2 years ago
      Anonymous

      btw the biggest matlab problem is that it's used "as needed" and thus the majority of matlab users write shit spaghetti code

  12. 2 years ago
    Anonymous

    >What does matlab have that other languages don't?
    Dr. Billy V. Koen

  13. 2 years ago
    Anonymous

    A large pool of boomers who can't be fricked to learn anything else.

  14. 2 years ago
    Anonymous

    >array starting with 1
    Option Base 1

    • 2 years ago
      Anonymous

      homie what

      >RLC circuit is, including me
      resistors, capacitors, inductors... i thought IQfy was filled with CS students who have taken physics 2?

      >physics 2
      they covered that shit for like 30 seconds lol

  15. 2 years ago
    Anonymous

    Some community written tools are above and beyond better than anything else.

  16. 2 years ago
    Anonymous

    I saved my dissertation by switching from python to MATLAB. Thank frick for proprietary software.

  17. 2 years ago
    Anonymous

    My uni license expired and since I dropped out my master I didn't have access to a new license. I took the chance to pivot and start learning python. I instantly hated python. I was foaming from my mouth from the hatred. Everyone creaming themselves over Python on how easy is to learn and how many resources there are, and then right out of the bat you're confronted with an infinite wall of informations, all trying to say more or less the same thing in some different way. It's noise, just noise, finding what you need is needlessly time consuming, but you can get through it. You start mashing keys and immediately realize that python is no substitute for matlab. You glue shit on top, to make it work like matlab but it isn't matlab, it's basically a velcro ball. You stick the fluffy ball that allows you to do mathematic shit that isn't supported natively by python, advanced stuff like trigonometry, you stick the fluffy ball that lets you handle matrices, and then you're ready to not do what you need to achieve, but spend hours learning the ass backwards way they expect you to use these stupid functions. Matlab is proprietary shit, but it's fricking plug and play and will make your life easier.

  18. 2 years ago
    Anonymous

    >Use gnu-octave
    Literally just as if not better than CuckLab
    Use free software OP not this property shit.
    If you don’t like that, use python and learn a REAL programming language while learning mathematics twice as based

    • 2 years ago
      Anonymous

      Better yet, use Python with something like SageMath.

      • 2 years ago
        Anonymous

        Sage is a CAS
        not comparable to numerical computing packages

    • 2 years ago
      Anonymous

      >Literally just as if not better than CuckLab
      unless Octave's financial library added the 80% of missing functions last year, no

    • 2 years ago
      Anonymous

      I've tried using Octave, and it just drives me mad.
      Their documentation is super sparse compared to MatLab, and the behavior of all the functions in Octave is *JUST* different enough to break all my scripts.

  19. 2 years ago
    Anonymous

    MATLAB is too based for this board, please delet.

    • 2 years ago
      Anonymous
    • 2 years ago
      Anonymous

      A = flipud([1:1:n;]')

    • 2 years ago
      Anonymous

      >A = flipud([1:1:n;]')
      You can iterate backwards, no need for flipud
      A=[3:-1:0]

      • 2 years ago
        Anonymous

        >-1
        easy mode failed

      • 2 years ago
        Anonymous

        You used a negative sign. Fail!

    • 2 years ago
      Anonymous

      there must be a way to solve this with bitwise operations

      • 2 years ago
        Anonymous

        something like
        function(n){
        if (NOT n)
        return;
        i=1;
        while NOT(n AND i)
        i=i<<1;
        i=i XOR 1;
        print(n);
        n = n XOR i;
        function(n);
        Idk how to comment but i is a mask of which bits to flip. You start from the LSB and stop when you find the first 1.
        If you want to do it on actual hardware and without using an adder you can use stuff like thermometer encoders.

    • 2 years ago
      Anonymous

      program countdown;
      var i : integer;
      begin
      for i:=5 downto 0 do
      writeln('i = ', i);
      readln;
      end.

      cniles btfo

    • 2 years ago
      Anonymous

      def countdown(n):
      [print(x) for x in reversed(range(n))]

      • 2 years ago
        Anonymous

        python wins again

        laddies learn the standard lib: range(start, stop[, step])

        • 2 years ago
          Anonymous

          thanks, i didn't know about that third param

        • 2 years ago
          Anonymous

          doesn't work with negative values moron
          you can't use that argument to step backwards through the generator

          • 2 years ago
            Anonymous

            >For a negative step, the contents of the range are still determined by the formula r[i] = start + step*i, but the constraints are i >= 0 and r[i] > stop.
            really makes me think

          • 2 years ago
            Anonymous

            just try it out, moron. it doesn't work.

    • 2 years ago
      Anonymous

      python wins again

      • 2 years ago
        Anonymous
        • 2 years ago
          Anonymous

          >using reverse()
          NGMI lad

          • 2 years ago
            Anonymous

            >Converting a generator into a list so that you can slice it resulting in two loops, un-needed memory allocation, and less clear code.
            >shiggidy

          • 2 years ago
            Anonymous

            you are already converting the generator into a list when you call reversed()

          • 2 years ago
            Anonymous

            Turns out we're both moronic.
            They're the same, mine is still clearer

          • 2 years ago
            Anonymous

            your bottleneck is in the print function inside the loop, dumb dumb. not in the reverse/flip

          • 2 years ago
            Anonymous

            Thank you kind anon, couldn't see the forest through the trees. I knew my way should be faster.

            >we're both moronic
            nah mate, i was clear on what i was doing from the beginning

            >mine is still clearer
            that's not a good thing baka

            Eat shit

          • 2 years ago
            Anonymous

            running matlab inside a windows 11 vm in a mac mini m1 (parallels)
            tic
            for i=1:20000000
            x=fliplr([1:5])';
            end
            toc
            Elapsed time is 22.012492 seconds.

            how can pylets even compete

          • 2 years ago
            Anonymous

            You're not iterating over the array after generating it though, so you wouldn't.

            The list comprehension in python actually allows you to call a function on the variable such as print. I only excluded it there to show that using the reversed function is faster than converting to a list and slicing it backwards.

            and no, reversed does not reverse the list so it doesnt fail the constraint of string reverse, it just iterates over the list backwards same as it would with [::-1], the only difference is that it can be used on any iterator. As apposed to the reverse method which would actually reverse the list in place.

            Your code is more equivalent to pic related which is very different than the problem.

            Also no one said python was fast.

          • 2 years ago
            Anonymous

            holy cope. why are you trying to justify your mistakes? you shouldn't have written shitty code in the first place

          • 2 years ago
            Anonymous

            btw, just so you can be happy, my 2 cents

            def countdown(n):
            [x for x in range(n,0,(~1+1))]

          • 2 years ago
            newfag

            >Eat shit
            lmao i really don't think you understand and that is so sad

          • 2 years ago
            Anonymous

            >we're both moronic
            nah mate, i was clear on what i was doing from the beginning

            >mine is still clearer
            that's not a good thing baka

    • 2 years ago
      Anonymous

      in c it is just
      #include <stdio.h>
      void countdown(int n){ while(n > 0){ printf("%dn", n); n = ~(~n+1); } }

    • 2 years ago
      Anonymous
    • 2 years ago
      Anonymous

      we can't stop winning

  20. 2 years ago
    Anonymous

    I used to use this all day erry day.
    And I haven't thought about it for a surprisingly long time. Funny how that happens.

  21. 2 years ago
    Anonymous

    >$100

  22. 2 years ago
    Anonymous

    >$100
    if it wasnt so moronic i would assume this was bait

  23. 2 years ago
    Anonymous

    I used matlab a bit for my masters and phd since the university had plenty of licenses.

    It wasn't my tool and I'm never paying a penny for it, but I can see why it's popular for academics.

    >language is okay
    Easy but can be messy in the hands of a shit programmer. Thankfully most scripts tend to be short because the libraries so it isn't a big deal.

    >a frick ton of libraries
    The reason I used. it's the lazy man's tool. There's a library for everything you could think.

    >easy to manage
    Everything is basically built in. You don't need to bother with repositories or documentation or anything else.

    The majority of academics and researchers and professionals in general don't know anything outside their scope, in particular if it has to do with computers. So big blobs that just work out of the box that are highly specialized for specific tasks can be very useful for those people.

  24. 2 years ago
    Anonymous

    Mathematica is by miles better than Python or Matlab

    >Only need to look in official doc unlike Python numpy panda crap
    >hundred lines of code in other languages is ONE FUNCTION in Mathematica
    >Beautiful typeset output
    >feels like REAL symbolic programming unlike hack sym in Matlab or SymPy

  25. 2 years ago
    Anonymous

    >What does matlab have that other languages don't?
    A huge toolbox and documentation.
    I was thrown into a post-semester computer vision workshop. I had never used Matlab before. But on day 2 I was recognizing and tracking a moving object in a video clip. I doubt I could have achieved success so quickly with any other toolset.

    • 2 years ago
      Anonymous

      just use opencv and follow one of the dozen pajeet guides.
      Idk why so many people jerk matlab off for something so simple it has its uses but thats not it.

  26. 2 years ago
    Anonymous

    I get it for free from my university and use it in my research a lot

    I think it has the best syntax for doing computational engineering/science work

  27. 2 years ago
    Anonymous

    If the array starts with 1 then -1 can be the last element

  28. 2 years ago
    Anonymous

    Is that meant to be a criticism?
    0-based indexing brainlets be like
    >googoo gaagaa i cant understand anything that isnt my precious c

  29. 2 years ago
    Anonymous

    >ctrl+F R
    >0 results
    Lmao at all of you

  30. 2 years ago
    Anonymous

    >array starting with 1?
    In pascal, an array can start with any number.

    • 2 years ago
      Anonymous

      Even with π?

  31. 2 years ago
    Anonymous

    a lot of things people do in academics is easily doable with something in the matlab library which is why its useful, but it also makes me want pull my hair out because shit stops working as expected and never you never know why

  32. 2 years ago
    Anonymous

    >Are cucks really paying $100 for array starting with 1
    yes

  33. 2 years ago
    Anonymous

    >python
    <can't search packages using pip
    <can't upgrade every python program installed with pip with pip
    I thought this shit was suppose to be easy.

  34. 2 years ago
    Anonymous
  35. 2 years ago
    Anonymous

    It filters pajeets.

  36. 2 years ago
    Anonymous

    >paying $100
    >for a fricking mathematical program

  37. 2 years ago
    Anonymous

    I prefer to use actual real programming languages like Fortran or Pascal and prefer Axiom or Maxima in case of a CAS

  38. 2 years ago
    Anonymous

    I like Simulink but Matlab is utter garbage, literally overpriced shit that Python can do for free

  39. 2 years ago
    Anonymous

    none janky python shit. It just fricking works and you can call a human being for support.

    Good luck talking to python creators if you're a nobody.

  40. 2 years ago
    Anonymous

    They made me use this shit in school (non-CS hard science) and I'm not gonna lie it was a little hard at first, but then I kind of realized all the things you could do with it and was impressed. Then I graduated and have been doing moronic shit in MS excel 9 hours a day. I want to die. I miss you MAT-chan.

  41. 2 years ago
    Anonymous

    [...]

    python wins again

    >using reverse()
    NGMI lad

    >-1
    >87267877
    >reverse
    so this is the power of python users. good morning sirs.

  42. 2 years ago
    Anonymous

    are people really still trying to solve the countdown thing... cmon guys

    count = list(range(0, n))
    while len(count) > 0:
    print(len(count))
    count.pop(0)

    • 2 years ago
      Anonymous

      this better be a troll

      • 2 years ago
        Anonymous

        the code wins the challenge...

        >no subtraction (anything with minus symbols)
        check
        >no string reverse
        check
        >no recursion
        check
        >less than 5 LOC
        check

        • 2 years ago
          Anonymous

          >>no subtraction (anything with minus symbols)
          a minus symbol doesn't indicate a substraction operation you fricking dunce
          writing "-1" does not involve substraction

          • 2 years ago
            Anonymous

            it seems you missed the big text saying
            >anything with minus symbols

          • 2 years ago
            Anonymous

            it seems you missed the part where a minus symbol is not a subtraction operation
            if you and the original image meant those to be two separate conditions, they should be stated as separate conditions

            just saying
            >remember, no russian (no slavic languages)
            and then getting mad when someone speaks polish is something a woman would do

          • 2 years ago
            Anonymous

            lol the text explicitly stated that minus symbol should not be used and you are still trying to argue? you might be mentally damaged

          • 2 years ago
            Anonymous

            braindead post

  43. 2 years ago
    Anonymous

    They're too dumb for j

  44. 2 years ago
    Anonymous

    >Unironically using list() and reverse() for something so simple
    You're already using python why are you still bad at programming

    • 2 years ago
      Anonymous

      I'm not using reverse()
      I'm using reversed()
      They are very different. I am genuinely curious how you would write it in python more efficiently and have it execute faster. I would learn something.

  45. 2 years ago
    Anonymous

    >license
    lol
    lmao

  46. 2 years ago
    Anonymous

    I've used notebooks before on Matlab and Rstudio, but I'm trying GNU Octave and can't find an equivalent. The jupyter extension doesn't work on Windows. Shall I just go with python and Jupyter notebooks?

  47. 2 years ago
    Anonymous

    [...]

    Matlab is not programming you dumbass. Its scientifical computing.

    You dont need to
    import basimath.py from basicmathpython
    import basicmatrix...
    import gaymondadfactorybase...

    if __name__==__main__

    ...

    Python is horrible. Its bad scientific language and bad programming language. Matlab excels at first and is is just able program language as python.

    • 2 years ago
      Anonymous

      Numpy/Scipy are way better at scientific computing than Matlab.
      And once you need large scientific data, nothing compares to the Dask/xarray combo. Matlab just explodes.

      • 2 years ago
        Anonymous

        Probably untrue and you never personally handle such datasets anyway. Margin cases

        • 2 years ago
          Anonymous

          >you never personally handle such datasets
          lmao, nice fizzbuzzer opinion

  48. 2 years ago
    Anonymous

    No idea. My uni gave a license to every student regardless of the degree they are studying.

    All I do is stuff related to statistics and data analysis at a basic level, so I ended pirating SPSS. I probably can do the same things with MATLAB, but without training on using it I'm clueless.

  49. 2 years ago
    Anonymous

    I remember using matlab in my first week of uni, made making simple controllers about as difficult as following lego instructions.

  50. 2 years ago
    Anonymous

    >python users are seething about matlab existence
    Lmao, the whole point is doing data science and engineering applications without need to deal with programming.

  51. 2 years ago
    Anonymous

    Sorry…but I use R

  52. 2 years ago
    Anonymous

    [...]

    i bet you thought this was clever

  53. 2 years ago
    Anonymous

    I'll just leave this here https://www.youtube.com/watch?v=nS4o30_gi_w

  54. 2 years ago
    Anonymous

    Price: $0.00

  55. 2 years ago
    Anonymous

    I pirated it but the only thing I like is the list of variables and their values, wish VSCode had something like that

Your email address will not be published. Required fields are marked *