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 );
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 );