- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Matlab: Difference between revisions
imported>DNJACK typo |
imported>MarioMario456 Reverted edits by GringoMandingo- (talk) to last revision by [[User:imported>LIOD|imported>LIOD]] |
||
(9 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{WIP}} | |||
[[Image:MatlabJew.jpg|right|thumb|Matlab can also [[whore|be used]] to draw [[ jews]].]] | [[Image:MatlabJew.jpg|right|thumb|Matlab can also [[whore|be used]] to draw [[ jews]].]] | ||
Matlab is a [[shitty]] [[programming language|scripting language]] for those who wants something unstable, slow, expansive, leaking memory and with no flexibility because they can’t be bothered to learn [[Python|a real]] [[Perl|scripting language]]. | Matlab is a [[shitty]] [[programming language|scripting language]] for those who wants something unstable, slow, expansive, leaking memory and with no flexibility because they can’t be bothered to learn [[Python|a real]] [[Perl|scripting language]]. | ||
==Particularities== | ==Particularities== | ||
Line 8: | Line 7: | ||
*Double precision floating point is the default type for everything. | *Double precision floating point is the default type for everything. | ||
*Two-dimensional arrays can be accessed by a single index, but it iterates over rows before column, [[Drugs|for some reason.]] | *Two-dimensional arrays can be accessed by a single index, but it iterates over rows before column, [[Drugs|for some reason.]] | ||
*There's no function to show result, you do it by omitting a semi-colon after a line, so forgetting it might result in Matlab taking 2 minutes showing every pixel value of your high resolution image. | |||
ex: | ex: | ||
>> x=[1 2 3; 4 5 6; 7 8 9] | >> x=[1 2 3; 4 5 6; 7 8 9] | ||
x = | x = | ||
Line 17: | Line 16: | ||
4 5 6 | 4 5 6 | ||
7 8 9 | 7 8 9 | ||
>>x; | |||
>> x(4) | >> x(4) | ||
ans = | ans = | ||
2 | 2 | ||
>> why | |||
She obeyed the hamster. | |||
>> isinteger(x) | >> isinteger(x) | ||
ans = | ans = | ||
Line 29: | Line 29: | ||
>> isfloat(x) | >> isfloat(x) | ||
ans = | ans = | ||
1 | 1 | ||
>>why | |||
For the love of a bald and terrified mathematician. | |||
>> x(0) | >> x(0) | ||
<span style="color:#ff0000"> ??? Subscript indices must either be real positive integers or logicals.</span> | <span style="color:#ff0000"> ??? Subscript indices must either be real positive integers or logicals.</span> | ||
Line 38: | Line 39: | ||
[[Image:shittyMatlabMeme.jpg|thumb|Engineering students are also [[unfunny]].]] | [[Image:shittyMatlabMeme.jpg|thumb|Engineering students are also [[unfunny]].]] | ||
In many engineering classes, Matlab is taught as an introduction to scientific programming without much success to the hopeless undergrads. The most successful | In many engineering classes, Matlab is taught as an introduction to scientific programming without much success to the hopeless undergrads. As the students are hip, a wave of shitty meme has been created, documenting their collective failure. | ||
The most successful students will end up writing programs that will later have to be completely rewritten in [[C++|another language]] by [[hackers|real programmers]]. | |||
{{quote|Matlab is pretty easy language. Very similar to C++.|Someone not very good at pretending to know things.}} | |||
==GUIDE== | ==GUIDE== | ||
Line 49: | Line 55: | ||
Octave is the even slower open-source clone. Don’t bother. | Octave is the even slower open-source clone. Don’t bother. | ||
==External Links== | |||
* [https://www.mathworks.com/pricing-licensing.html?prodcode=ML Matlab] - Go here and laugh at their prices, or read about it, idk. | |||
{{Softwarez}} | {{Softwarez}} | ||
{{haxor}} | {{haxor}} |
Latest revision as of 21:31, 11 July 2022
STEP THE FUCK OFF! Matlab looks like shit but it is NOT a {{crapstub}}. It is a work in progress! If you require assistance beefing up this article, then hit up the experts on our IRC.
|
Matlab is a shitty scripting language for those who wants something unstable, slow, expansive, leaking memory and with no flexibility because they can’t be bothered to learn a real scripting language.
Particularities
- Breaking with conventions, all arrays start at index 1.
- Double precision floating point is the default type for everything.
- Two-dimensional arrays can be accessed by a single index, but it iterates over rows before column, for some reason.
- There's no function to show result, you do it by omitting a semi-colon after a line, so forgetting it might result in Matlab taking 2 minutes showing every pixel value of your high resolution image.
ex:
>> x=[1 2 3; 4 5 6; 7 8 9]
x =
1 2 3
4 5 6
7 8 9
>>x;
>> x(4)
ans =
2
>> why
She obeyed the hamster.
>> isinteger(x)
ans =
0
>> isfloat(x)
ans =
1
>>why
For the love of a bald and terrified mathematician.
>> x(0)
??? Subscript indices must either be real positive integers or logicals.
Matlab in engineering classes
In many engineering classes, Matlab is taught as an introduction to scientific programming without much success to the hopeless undergrads. As the students are hip, a wave of shitty meme has been created, documenting their collective failure.
The most successful students will end up writing programs that will later have to be completely rewritten in another language by real programmers.
—Someone not very good at pretending to know things. |
GUIDE
The only worthy aspect of Matlab is the ability to make ugly Visual Basic looking GUI with very few efforts that continue to work after dozens of errors, a very useful feature for lazy fucks that can’t be bothered to fix their code.
Octave
Octave is the even slower open-source clone. Don’t bother.
External Links
- Matlab - Go here and laugh at their prices, or read about it, idk.
Matlab is part of a series on Visit the Softwarez Portal for complete coverage. |
Matlab is part of a series on Programming. [Enter the Matrix] | |
ADA • Assembly • C • C++ • COBOL • Debug • DOS • Erlang • Error • Fdisk • Fortran • Integer • Java • LOLCode • Machine Code • Matlab • MIRC Script • MUMPS • Open Source • Perl • PHP • Programming language • Python • QBASIC • Ruby on Rails • Scratch • SSH • Visual Basic
Firefox XPS IRC Attack • Safari XPS Attack • Sandworm
Bill Gates • Linus Torvalds • Weev • Goatse Security • Terry Davis • Theo de Raadt
Operating system • Warez • Notepad • Is not a bug, it's a feature • Database Error |