MATLAB: Difference between revisions
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
Students are usually forced to use it in introductory math classes.<br> | Students are usually forced to use it in introductory math classes.<br> | ||
Unless required to use Matlab, I recommend using Python, Julia, or R which are all free and, in my opinion, more flexable.<br> | Unless required to use Matlab, I recommend using Python, Julia, or R which are all free and, in my opinion, more flexable.<br> | ||
For optimal CPU performance, you can also use C++ with [[Eigen]]. | |||
==Installation== | |||
===Linux=== | |||
Matlab is installed at <code>/usr/local/MATLAB/<version></code>. | |||
E.g. <code>/usr/local/MATLAB/R2020b/bin</code>. | |||
You can also install it to your account in <code>~/.local/</code>. | |||
By default, matlab will not create a launcher icon. | |||
On Ubuntu, you can add a launcher icon by installing <code>matlab-support</code>. | |||
==Usage== | ==Usage== | ||
| Line 19: | Line 28: | ||
elapsedTime = toc(timerVal) | elapsedTime = toc(timerVal) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Programming languages]] | |||