how to reconstract a signal which through filter bank(16 bands)
1 次查看(过去 30 天)
显示 更早的评论
Hi,now i design filter bank with 16 bands.I use a music(15s) through it, but when i hear the filter result ,it sounds so rough.Later,i find i can use analysis filter with integrated filter,but i do not know how to design.thank you!
there are my code
function [b]=fdbp1(x,fp1,fp2,fsotp1,fstop2,fs)
% ues fdesign.bandpass to design bandpass filter bank
% y filter result;
% x signal;
% fp1 left passband fre;fp2 right passband fre; fstop1 left stopband fre;fstop2 right fre;rp,rs
rp=1;rs=40;
for i=1:length(fp1)
H=fdesign.bandpass(fstop1(i),fp1(i),fp2(i),fstop2(i),rs,rp,rs,fs);
Hd=design(H,'butter');
y=filter(Hd,x);
t=(0:length(x)-1)/fs;
B{i}=y;
end
end
0 个评论
回答(1 个)
Vishal Bhutani
2019-1-7
Based on my understanding you want to reconstruct the original signal by using analysis filter. The link attached below might be helpful for you, as it contains an example for " how to design perfect reconstruction using two-channel filter banks":
Hope it helps.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Filter Banks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!