Professional Documents
Culture Documents
Marmito
Stephen T. Lee
BSECE 4
Digital Signal Processing Laboratory
Laboratory Exercises and Experiments
Simple Operations on Sequences
Activity 02
Answers:
1)
2) The form of the uncorrupted signal s[n] is a linear growth product and slowly decays.
The form of the additive noise d[n] is inconsistent or random but is distributed evenly on the y-axis.
3) The statement x = s + d cannot be used to generate the noise corrupted signal because d is a column vector and it
must be transposed first for the d and s to be added.
4) x1, x2 and x3 are the extended versions of x. Signal x1 is the delayed version of x, x2 is equal to x and x3 is the
advanced version of x.
5) The legend command creates a legend for the graphs.
6)
m = 0.4 fH = 0.1 fL = 0.01
m = 0.9 fH = 0.5 fL = 0.001
m = 0.3 fH = 0.5 fL = 0.04
7) The * operator multiplies two matrices using matrix multiplication.
8) The .* operator multiplies the elements of two matrices that have the same dimension, pointwise.
9) The minimum frequency is at n = 0 while the maximum frequency occurs at n = 100.
10) To generate a swept-frequency sinusoidal signal, change a to pi/500 and b to pi/5.