Category Archives: MATLAB

Matlab like Bash history

In Matlab you can just type the first letters of a used command and press the arrow up key to get it back. In Bash you can do the same, but you have to press page up instead of arrow … Continue reading

Posted in MATLAB | Tagged , | Leave a comment

Half-wave rectification with Matlab

To simulate the behavior of the auditory nerve, you have to half-wave rectify your input signal. If you have used an if statement in Matlab to do this, the following code is for you: outsig = max( insig, 0 );

Posted in MATLAB | Tagged | Leave a comment