ELEM018 Advanced Transform MethodsLab 2: The Wavelet Transform (2 w eeks)Name:SuiLuyiQMNumber:jp0927921
ObjectivesObjectives2
IntroductionIntroduction3
ExercisesExercises3
1DiscreteWavelet Transform FilterBankQuestion:Explainhow thisMatlab functionw orks and check that itimplementsthe recursionformulassimilar∑−=−iimnmcnihc,0,1]2[2to∑−=−ijmnmcnihd,1,1]2[2and (Arethe filtersh0 and h1 inthe Matlab code exactlythe same filtersas h0 and h1 inthese formulas
Explainanydifference(s)youdiscover)
Answ er:The functionisiterationfunction
At firstthe functionw illcheck validationof theinput
Then the functionw illgenerate tw o sequences low pass_c=conv(h0,c)andhipass_c=conv(h1,c),theyare convolutionof the inputsequencec w ithhigh-passfilterh1 and low -passfilterh0
Then itw illsubsamplethe sequence