meddis.m ( File view )

  • By taher 2013-09-27
  • View(s):38
  • Download(s):1
  • Point(s): 1
			function hc = meddis(r, fs)
% Produce auditory nerve response from output of a Gammatone filterbank.
% This function uses the Meddis hair cell model that transduces from filter
% response to auditory nerve firing activity (the same as inner hair cell
% response).
% The first augument is required.
% fs: sampling frequency.
% -------------------------------------------------------------------------

if nargin < 2
    fs = 16000;     % default sampling frequency
end

[numChan,sigLength] = size(r);     % number of channels and input signal length

% hair cell parameters
med_y=5.05;
med_g=2000;
med_l=2500;
med_r=6580;
med_x=66.31;
med_a=3.0;
med_b=200;
med_h=48000;
med_m=1;

% initialize inner hair cells
ymdt=med_y*med_m/fs;
xdt=med_x/fs;
ydt=med_y/fs;
lplusrdt=(med_l+med_r)/fs;
rdt=med_r/fs;
gdt=med_g/fs;
hdt=med_h;

% inner hair cell transduction
hc=zeros(numChan,sigLength);
for i=1:numChan
    kt=med_g*med_a/(med_a+med_b);
    hair_c=med_m*med_y*kt/(med_l*kt+med_y*(med_l+med_r));
    hair_q=hair_c*(med_l+med_r)/kt;
    hair_w=hair_c*med_r/med_x;

    for j=1:sigLength
        if 
...
...
(Please download the complete source code to view)
			
...
Expand> <Close

Want complete source code? Download it here

Point(s): 1

Download
0 lines left, continue to read
Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
meddis.m1.67 kB15-06-12|13:13
gammatone.m1.81 kB07-10-12|07:03
gammatoneFast.m1.57 kB24-06-12|17:25
...
Sponsored links

meddis.m (2.60 kB)

Need 1 point
Your Point(s)

Your Point isn't enough.

Get point immediately by PayPal

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more point

LOGIN

Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com

切换到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
OK

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D