gammatone
所属分类:matlab编程
开发工具:matlab
文件大小:1KB
下载次数:129
上传日期:2014-05-12 21:55:00
上 传 者:
damorn
说明: 人耳滤波器
Gammatone带通滤波器
(Gammatone filter)
文件列表:
gammatone.m (467, 2014-05-12)
function [ dataOut ] = gammatone( dataIn,fs,fi )
%GAMMATONE Summary of this function goes here
% Detailed explanation goes here
% fi : 中心频率
% fs : 采样频率
% damorn 2014/5
[Ns,Ms] = size(dataIn);
bi = 1.019*24.7*(4.37*fi/1000+1);
N = 1024;
t = [0:N-1]/fs;
h = t.^3.*exp(-2*pi*bi*t).*cos(2*pi*fi*t+0);
dataOut = zeros(Ns+N-1,Ms);
for i = 1:Ms
dataOut(:,i) = conv(h,dataIn(:,i));
end
dataOut = dataOut/max(max(dataOut));
%sound(data,fs);
end
近期下载者:
相关文件:
收藏者: