- 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
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.
ex:
>> x=[1 2 3; 4 5 6; 7 8 9]
x =
1 2 3
4 5 6
7 8 9
>> x(4)
ans =
2
>> isinteger(x)
ans =
0
>> isfloat(x)
ans =
1
>> 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. The most successful of them will end up writing programs that will later have to be completely rewritten in another language by real programmers. As the students are hip, a wave of shitty meme has been created, documenting their collective failure.
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.
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 |