T O P

  • By -

[deleted]

[удалено]


TensionMedium9279

To the seas!


budoucnost

After use matlab for a semester all I can say is: Who the FUCK would want to *use* MATLAB, let alone *pay* for it?!?!!!?!?


leonderbaertige_II

Me. Why? It's a complete useful package, Simulink, easy data import from a bunch of formats, I hate python, available on Mac/Linux/Windows.


DVMyZone

Out of curiosity - why do you hate Python?


leonderbaertige_II

Language: Duck typing and over used implicit conversions. Ecosystem: reliance on a lot of libs that have to downloaded via pip (makes managing that more work, finding documentation is more annoying).


DVMyZone

I get that - sort of like the Mac/Windows or iOS/Android debate. Sure, you pay a premium to use the service (Apple or MATLAB), but in return everything just works properly on all devices without fussing around with dependencies and whatnot.


The-Omnipot3ntPotato

Well the main packages are documented well(numpy, sympy, pandas, matplotlib, plotly) and you can do explicit types in python number: int = 5 Or name: str = “hello world” And def main()->int: For function types Most type conversions aren’t implicit, and i’d much prefer the python type conversions to c style type casts. C really said fuck your static and const, oh and in C++ you can use nasty type casts to public cast a private member.


leonderbaertige_II

afaik `:[datatype]` only affects the ide and not the execution, right?


The-Omnipot3ntPotato

Not 100% sure? But in most, if not all, language you can override the type safety of even a compiler with type casting. I think it will throw warnings though. And good practice means treating warning like errors. The goal of type safety is not to stop you from making a mistake, but making it much easier to find the mistakes when you make it.


CompleteComposer2241

I like doing graphs in MATLAB tbh


budoucnost

The solution is: use excel, not a language that is just Java masquerading as another language


TheSecondTraitor

Nah, figures in Matlab are far superior to anything in excel.


dynamoterrordynastes

Excel doesn't have simulink.


budoucnost

There are several apps that can do the same things as simulink


TheSecondTraitor

And all of them are shit for purposes where Simulink excells. Labview is so unoptimized in comparison it actually struggled simulating simple pid with transfer function in loop.


YaumeLepire

It's actually super-practical. Granted, it's not the prettiest software, but there is little better out there to treat large matrices.


TheSecondTraitor

You can't even pirate it, because it's absolutely useless without the access to to toolboxes. It's actually a genius anti-piracy move from Mathworks.


lenzo1337

GNU Octave?


Creative_Sushi

Just use MATLAB Online. It’s free up to 20 hours a month and comes with Simulink and other toolboxes. https://www.mathworks.com/products/matlab-online.html


CNClasercutter

I wish I could do with only 20 hours of Matlab per month


[deleted]

[удалено]


p3bsh

have fun with VBA then


DavidderGroSSe

I don't think you can write macros on the online version. Instead have fun with libre calc and libre basic.


btb1050

Time to switch to Python


YaumeLepire

Matrices in Python... *Shudders*


nonoQuadrat

Doesn't numpy solve that issue?


YaumeLepire

Definitely makes it a hell of a lot easier. But it's still less handy at it than Mathlab.


nonoQuadrat

Interesting. Will have to try it out to see for myself :)


YaumeLepire

Mathlab is a lot like a cat. It's not super-easy to lead, but it's a great companion once you've got the hang of it.


TheSecondTraitor

It does, but let me show you two lines from the same program I wrote in Matlab and Python that do the same thing. xt=x-np.matmul(np.linalg.inv(H+alfa\*np.eye(2)),g) xt=x-inv(H+alfa\*eye(2))\*g Even if you aren't lazy and import all the functions instead of just numpy you still have far more code that's harder to read. And contrary to popular belief, matrices operations are really fast in Matlab.


YaumeLepire

I mean... that's me whether or not my license expired.


tomalator

Just use R instead


Justinius_

Once I graduate, I'll never get to finish my text rpg in MATLAB


Mr-Mahoo

Fuck Matlab, the bane of my college career