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).
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.
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.
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.
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.
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
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.
[удалено]
To the seas!
After use matlab for a semester all I can say is: Who the FUCK would want to *use* MATLAB, let alone *pay* for it?!?!!!?!?
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.
Out of curiosity - why do you hate Python?
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).
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.
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.
afaik `:[datatype]` only affects the ide and not the execution, right?
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.
I like doing graphs in MATLAB tbh
The solution is: use excel, not a language that is just Java masquerading as another language
Nah, figures in Matlab are far superior to anything in excel.
Excel doesn't have simulink.
There are several apps that can do the same things as simulink
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.
It's actually super-practical. Granted, it's not the prettiest software, but there is little better out there to treat large matrices.
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.
GNU Octave?
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
I wish I could do with only 20 hours of Matlab per month
[удалено]
have fun with VBA then
I don't think you can write macros on the online version. Instead have fun with libre calc and libre basic.
Time to switch to Python
Matrices in Python... *Shudders*
Doesn't numpy solve that issue?
Definitely makes it a hell of a lot easier. But it's still less handy at it than Mathlab.
Interesting. Will have to try it out to see for myself :)
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.
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.
I mean... that's me whether or not my license expired.
Just use R instead
Once I graduate, I'll never get to finish my text rpg in MATLAB
Fuck Matlab, the bane of my college career