4 ms·
If you're an engineer (like an engineer engineer, not a software engineer) 90% of the time matlab has some module built-in or for sale that simply solves the pr
by wickedchicken 15y ago
If you're an engineer (like an engineer engineer, not a software engineer) 90% of the time matlab has some module built-in or for sale that simply solves the problem you have. For example: http://www.mathworks.de/products/dsp-system/demos.html?file=/products/demos/shipping/dsp/adaptfxlmsdemo.html http://www.mathworks.de/products/dsp-system/demos.html?file=...
The code to construct an LMS filter (http://en.wikipedia.org/wiki/Least_mean_squares_filter#LMS_algorithm_summary http://en.wikipedia.org/wiki/Least_mean_squares_filter#LMS_a...) is effectively one line:
h = adaptfilt.filtxlms(L,muW,1,Hhat);
- KingMob 15y agoYou've hit the nail on the head. This is exactly why Matlab is so pervasive in science. Not because it's actually good, but because it has so many handy libraries. The Mathworks is the Microsoft of science. I had to use Matlab for seven years in neuroscience, and it's a terrible language for everything other than matrix math, data plotting, and (if you cough up for the Parallel Computing Toolbox) easy parallelization.
- rcfox 15y agoSomewhat off-topic: Have you heard of the Neural Engineering Framework? http://ctn.uwaterloo.ca/~cnrglab/?q=node/10 http://ctn.uwaterloo.ca/~cnrglab/?q=node/10 It's got a Python (well, Jython) scripting interface and can also interact with Matlab.
- KingMob 15y agoNo, I hadn't heard of it, but I was operating slightly higher, in cognitive neuroscience, and doing a lot of fMRI and intracranial EEG work. For those domains, the biggest packages are SPM and Fieldtrip, both of which run on Matlab. I do, however, hope that Python will push out Matlab one day.