Docsity

3 Questions for Problem Set 7 - Matrix Methods for Signal Processing | EECS 551, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
EECS 551 Fall 1997
PROBLEM SET #7
ASSIGNED: October 30, 1997
DUE DATE: November 6, 1997
Read Sections 3.5, 3.6, 4.7, 6.3 (all short) of V&K (mostly 2-D wavelets).
Also skim Chapter 7 of V&K (mostly on image coding, but good background).
This week’s theme: Computation of continuous-time wavelet bases and transforms.
1. Another way to derive wavelet scaling functions based on splines:
Start with the linear spline function s1(t) = 1 − |t|,|t|<1; 0,|t|>1.
a. Compute the sampled autocorrelation s3(n) of s1(t) (note s3(t) = s1(t)∗s1(t)).
This consists of exactly three nonzero numbers.
b. Compute the spectral factorization S3(z) = R(z)R(z−1) of S3(z).
HINT: Use the quadratic formula and write S3(z) = c2(1 −bz−1)(1 −bz).
c. Write Φ(ω) = S1(ejω )
R(e−jω ). NOTE: √3 = 1.732.
Explain why φ(t) is orthogonal to its translations.
d. Write φ(t) = P∞
n=0 ans1(t−n). Find an. What kind of function is φ(t)?
HINT: Use 1
1−bz−1=P∞
n=0 bnz−n,|b|<1 and set z=ejω .
NOTE: This is NOT the Battle-Lemarie φ(t)!
2. Let x(t) = ½e−t,if t > 0
0,if t < 0.
a. Compute the continuous time Haar wavelet transform of x(t).
b. Compute the continuous time Haar scaling transform of x(t).
c. Write out Mallat’s fast wavelet algorithm in the general case.
d. Insert your answers to (a) and (b) in (c) and confirm the algebra works out.
NOTE: Make sure you use the correct h0(n) for Haar (see text p.101).
While either h0(n) or its time reversal can be used in discrete time,
consistency with the continuous time Haar requires the right choice.
3. Detection of fractal signals in noise using wavelets:
Let x(n) be the discrete-time deterministic fractal signal from Problem Set #5.
Download the MATLAB program from http://www.eecs.umich.edu/aey/eecs551.html.
Let y(n) = x(n)+”50*rand(size(n))” (note this is a LOT of noise!)
Let z(n) be generated using ”-25+100*rand(size(n))” (pure noise signal).
The numbers are chosen to make y(n) and z(n) have roughly the same size.
a. PLOT y(n) and z(n) for 1 ≤n≤32. Can you tell which is which?
b. Run the Haar-filter subband coder on both y(n) and z(n).
Look at various outputs and compare them. NOW can you tell which is which?
HINT: Compare low-frequency outputs at various scales (rows of y0 and z0)
among themselves for 129 ≤n≤160. y0 resemble each other more than z0.
”Mr. Lawyer, what is your fee for answering three questions?” ”$1000.”
”Isn’t that steep?” ”Yes. What is your final question?”

Partial preview of the text

Download 3 Questions for Problem Set 7 - Matrix Methods for Signal Processing | EECS 551 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

EECS 551 Fall 1997 PROBLEM SET #

ASSIGNED: October 30, 1997 DUE DATE: November 6, 1997

Read Sections 3.5, 3.6, 4.7, 6.3 (all short) of V&K (mostly 2-D wavelets). Also skim Chapter 7 of V&K (mostly on image coding, but good background). This week’s theme: Computation of continuous-time wavelet bases and transforms.

  1. Another way to derive wavelet scaling functions based on splines: Start with the linear spline function s 1 (t) = 1 − |t|, |t| < 1; 0, |t| > 1. a. Compute the sampled autocorrelation s 3 (n) of s 1 (t) (note s 3 (t) = s 1 (t) ∗ s 1 (t)). This consists of exactly three nonzero numbers. b. Compute the spectral factorization S 3 (z) = R(z)R(z−^1 ) of S 3 (z). HINT: Use the quadratic formula and write S 3 (z) = c^2 (1 − bz−^1 )(1 − bz). c. Write Φ(ω) = S^1 (e

jω (^) ) R(e−jω^ ). NOTE:^

Explain why φ(t) is orthogonal to its translations. d. Write φ(t) =

n=0 ans^1 (t^ −^ n). Find^ an. What kind of function is^ φ(t)? HINT: Use (^1) −bz^1 − 1 =

n=0 b

nz−n, |b| < 1 and set z = ejω (^). NOTE: This is NOT the Battle-Lemarie φ(t)!

  1. Let x(t) =

e−t, if t > 0 0 , if t < 0. a. Compute the continuous time Haar wavelet transform of x(t). b. Compute the continuous time Haar scaling transform of x(t). c. Write out Mallat’s fast wavelet algorithm in the general case. d. Insert your answers to (a) and (b) in (c) and confirm the algebra works out. NOTE: Make sure you use the correct h 0 (n) for Haar (see text p.101). While either h 0 (n) or its time reversal can be used in discrete time, consistency with the continuous time Haar requires the right choice.

  1. Detection of fractal signals in noise using wavelets: Let x(n) be the discrete-time deterministic fractal signal from Problem Set #5. Download the MATLAB program from http://www.eecs.umich.edu/aey/eecs551.html. Let y(n) = x(n)+”50rand(size(n))” (note this is a LOT of noise!) Let z(n) be generated using ”-25+100rand(size(n))” (pure noise signal). The numbers are chosen to make y(n) and z(n) have roughly the same size. a. PLOT y(n) and z(n) for 1 ≤ n ≤ 32. Can you tell which is which? b. Run the Haar-filter subband coder on both y(n) and z(n). Look at various outputs and compare them. NOW can you tell which is which? HINT: Compare low-frequency outputs at various scales (rows of y0 and z0) among themselves for 129 ≤ n ≤ 160. y0 resemble each other more than z0.

”Mr. Lawyer, what is your fee for answering three questions?” ”$1000.” ”Isn’t that steep?” ”Yes. What is your final question?”