Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

2.8.

STABILITY
CHAPTER 2. LINEAR SYSTEMS:DISCRETE AND INVARIANT IN THE TIME

Task Nro 1
Use, Apply, and Implementation using Software

Date of presentation:
—————————- ♠ ♣ ♠ ——————————-

1. Process of signal acquisition: Obtain using the signal acquisition procedure (from your voice
recording, less than 5 seconds of time), using the Matlab code, and represent it as :

(a) Considering your default technical parameters (i.e. according to the dispatcher you use) of
you computer. (Observe: sampling, frequency of sampling, bits by sampling, number of
channels, etc)
(b) Generate a file (according the previous item) in format (.wav), that will by your principal file.
(c) Using the principal file, realize two news process of Resamplig and consider:
i. New Frequency of sampling, New bits by sampling (with different values).
ii. Compare the new signals with the comportment of the principal file.
iii. Plot (graph) the signals of item previous (original signal and the re-sampling signals,
using the command ”stemp”).

2. Implentation using Software: use code in Matlab Software2 corresponding and graph (using the
command plot).

(a) Unit Impulse function: (


0 ; n 6= 0
δ[n] =
1 ;n = 1

(b) Unit Step Function, Considering the case: m 6= 0


(
0 ; if: n < m
δ[n − m] =
1 ; if: n ≥ m

(c) Unit Step function , considering the case: m = 0 (see the Figure 2.6)
(
0 ; if: n < 0
δ[n] =
1 ; if: n ≥ 0

(d)
x(n) = 6δ(n + 8) + 6δ(n) − 5δ(n + 3) + 2δ(n + 1) ; −5 ≤ n ≤ 15
(e)
15
X e−|k| δ(n − k)
x2 = ; −20 ≤ n ≤ 20
2
k=−15

(f)
xn = −4u(n) − 7u(n − 4) + 33n(n − 2) − 8n(n − 16) − 43n(n + 4).
(g)
x(n) = 15[cos(0.19πn) + cos(0.1πn)], −400 ≤ n ≤ 400.
Comment on the waveform and your results.

2 Considerfor the implementation the first part of book: Solutions Manual for Digital Signal Processing using Matlab - Second
Edition. Author Vinay K, Ingle

24
CHAPTER 2. LINEAR SYSTEMS:DISCRETE AND INVARIANT IN THE TIME2.8. STABILITY

(h)
π
x(n) = e−0.08n sin(0.1πn + ), 0 ≤ n ≤ 100.
3
(i) Generate the following periodic sequences and plot their samples (using the stem function).
Plot the sequence with 6 periods.

x(n) = {· · · , −5, −3, −2, −1, 0, 1, 2, 3, 4, 5 · · ·}

(j) Plot the sequence with 4 periods.

e0.033n [u(n) + u(n + 7)]


x(n) =
2
(k)
x(n) = 7e0.2n x(n − 3) + sin(0.1πn)x(n − 8); −40 ≤ n ≤ 40.
(l) Let the sequence x(n) = {−5, −4, −3, −2, −1, 0, 1, 2, 3, 4, 5}, Generate and plot the samples
(use the stem function) to the following sequences.
i. To each discrete function: x1 (n), x2 (n), · · ·

x1 (n) = 3x(n + 2) − x(n + 4) − x(n − 1)


x2 (n) = 40x(n − 4) − 30x(n − 3) − 20x(n − 2) − 10x(n − 1)
x3 (n) = 5x(n − 1) − 4x(n − 2) + 3x(n − 3) − 2x(n − 4) + x(n − 5)
x4 (n) = x(n + 4) − 2x(n − 6) − 3x(n + 8) − 4x(n − 10)

25

You might also like