This question is closed. Reopen it to edit or answer.

wfilters magnitude - why maxim value equals to sqrt(2)?

1 view (last 30 days)
Huan Zhao
Huan Zhao on 5 Apr 2018
Closed: MATLAB Answer Bot on 20 Aug 2021
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;
axis tight;
title('Level 1 Filter Transfer Function');

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!