2 ms·
Matlab scripts have a cell-mode, where you can execute modules of code. Cells are delimited by %%, and you can run a cell by pressing ctrl-enter, run and progre
by jawilson2 11y ago
Matlab scripts have a cell-mode, where you can execute modules of code. Cells are delimited by %%, and you can run a cell by pressing ctrl-enter, run and progress, etc.
In my experience (15 years), Matlab has been the best for exploratory data analysis. If you change a script, you don't need to worry about re-importing issues like in python; you can even change code DURING a debugging session, EVEN with GUIs. I have been using python+numpy+pandas for a few years now, and python just feels like there is an impedance there that I don't get from Matlab, primarily with graphics/matplotlib. But, deploying and sharing python is easier. I admit it could just be my experience with Matlab that biases me. I usually find that people bitching about Matlab don't like the language, and that is usually because they are viewing Matlab AS the language (like python), and not as a data exploration and analysis environment.