MATLAB to Mathematica: An Engineering Student's Perspective

Поділитися
Вставка
  • Опубліковано 30 жов 2024

КОМЕНТАРІ • 28

  • @verystablegenius4720
    @verystablegenius4720 5 років тому +20

    well I used both for many years and just implemented SLLG in Mathematica .. It is true that there are certain things that are simpler in the Wolfram Language, but calling MATLAB's output "a bunch of numbers" is a crime. It's far easier to learn how to plot in MATLAB .. You have to "Riffle" and "Transpose" and do smart things even to plot a simple List as a function of another input vector. That being said, I love WL.

  • @tatendablessing7298
    @tatendablessing7298 2 роки тому +8

    i dont have extensive experience with either , im a newbee BUT seeing that this is coming from Wolfrum , i find myself asking if its a balanced view

  • @Maxisokol
    @Maxisokol 6 років тому +25

    It's always a tradeoff between how easy it is and how much control you have over what the program is doing.
    P.S. Assembly for life!

    • @jamierlawson
      @jamierlawson 3 роки тому +10

      I don't think that's really valid here. It's a question of whether your program is best represented in the problem space or in the machine space. As a computer scientist, I almost always want to stay as far away from the machine as possible. I want my program to reflect the problem and its characteristics. If I have to describe the act of moving stuff from memory to a register and then invoking an instruction to operate on certain registers and place the result in another, that distracts from the problem I'm trying to solve. It's irrelevant to my program. There are a few cases, for instance a device driver, where the machine _is_ the problem. There I want direct control of the machine. Now let's include an example: "sum the first 1000 prime numbers". Do I want to describe a process to find the first prime, and then add it to a running sum, then find another prime and accumulate, etc.? No. Of course not. I want to offer a formal, concrete description of the computation without specifying a process (steps). I want the runtime system to determine the best way to perform the computation. Maybe there are 14 underutilized cores right now, and so the runtime system can map the computation onto those cores. Maybe there's only one underutilized core, and the runtime system will need to map the computation onto that core. There are structures (mostly arising in universal algebra) that allow computations to be described like this. And then when I go to prove the correctness of my program, I only need to show that I presented the right computation to the system (in these fancy objects of formal algebras, like monads, monoids, and functors). That's often a matter of verifying that there are no typing mistakes, whereas describing the steps the machine must go through leads to issues where it can be virtually impossible to demonstrate program correctness. To return to your statement about "what the program is doing", if I utilize these formal mathematical structures, I know exactly what the "program" is doing. It's solving my problem. I know nothing whatsoever about what the machine is doing, but I don't care. On the other hand, if I know exactly what the "machine" is doing, I probably have no clue about whether it's actually solving my problem, and that's a serious liability.

    • @GREK643
      @GREK643 2 роки тому +2

      no one is using assembly for the real life problem

  • @stephenmaharaj5230
    @stephenmaharaj5230 7 років тому +8

    Thanks for the video. I agree. Without the digression of an additional coding step, it does make it easier to go from a mathematical equation or statistical concept directly to the (petroleum) engineering application. This allows me to spend more time on the assumptions and validation of the model/equations.
    Although if I was a student at UCSB, I would prefer to spend that much more time on the beach.

    • @MuhammedTan
      @MuhammedTan 6 років тому +1

      What about taking your laptop with you to the beach, lol :)

  • @locallyringedspace3190
    @locallyringedspace3190 4 роки тому +5

    The fact the functions in Matlab are individual files was always something that seems totally unnecessary and encourages bad programming habits. I don't know enough about the internals of the language to see why this 'feature' is present but it certainly dates the product a lot. No modern programming language should have such limitations.

    • @cerrus7146
      @cerrus7146 3 роки тому

      Its not a limitation - it actually has the purpose to make the function available for other programms and reusing it. But it can be annoying when u dont need that feature for simple tasks

    • @CodeJeffo
      @CodeJeffo 3 роки тому +3

      No. Actuallly matlab functions doesn't need to be as individual files. You can do it, but you can also have many functions in single .m file

  • @jonetyson
    @jonetyson Місяць тому

    I'd be a bit worried about engineering students using mathematica to design things that people's lives depend on, like bridges or whatnot. It's hard to even know for sure what the order of evaluation of a mathematica expression is without trial and error, and I wouldn't ever want to bet my life on the soundness of my mathematica code. That said, in purely theoretical work Mathematica is excellent.

  • @prashkd7684
    @prashkd7684 3 роки тому +2

    rather then learning new languages to meet requirements of current engineering curriculum I think we should be reinventing our engineering coursework to align them with the new digital world.

  • @gabehcuodsuoitneterp203
    @gabehcuodsuoitneterp203 3 роки тому +2

    Maple?

  • @jerryli8105
    @jerryli8105 3 роки тому +2

    hello, ted mosby

  • @cursos1844
    @cursos1844 4 роки тому +9

    Forget both use Python!

  • @alihuey9786
    @alihuey9786 2 роки тому

    Nice

  • @blackcohn
    @blackcohn 2 роки тому +2

    says the guy who got a job at Mathematica

    • @cassidyhinkle6598
      @cassidyhinkle6598 Рік тому

      I can personally say, he did not get a job at Wolfram.

  • @flightisallright
    @flightisallright 4 роки тому +2

    Rigamaroll

  • @codyfan1097
    @codyfan1097 Рік тому

    Maple > Mathematica > Matlab 😈

  • @emmanuelirizarry5302
    @emmanuelirizarry5302 5 років тому

    Jajja “Wolfram Language”

  • @fortoday04
    @fortoday04 7 років тому +1

    focus the fucking camera

  • @chrischoir3594
    @chrischoir3594 4 роки тому

    All these programs were poorly thought out. Matlab, MathCAD, Maple, Mathematica .....they all sukk

    • @engywuck85
      @engywuck85 3 роки тому +1

      So which one does not for this use case?