Info
此问题已关闭。 请重新打开它进行编辑或回答。
wfilters magnitude - why maxim value equals to sqrt(2)?
1 次查看(过去 30 天)
显示 更早的评论
Hi there,
I am using wfilters function to check the transfer function of wavelet families. After trying the attached code (an example of Haar wavelet), I find all the magnitude with a maxim value of sqrt(2). May I ask what is the reason for this, please?
Thank you very much.
if true
N = 1024;
Fmax = 10;
[LoD,HiD] = wfilters('haar');
HiDFT = fft(HiD,N);
DF = Fmax*2/(N-1);
f = 0:DF:Fmax;
figure;
plot(f,abs(HiDFT(1:N/2)),'linewidth',2);
axis tight;
title('Level 1 Filter Transfer Function');
xlabel('Frequency');
ylabel('Magnitude');
end
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!