Professional Documents
Culture Documents
Lab Exercise 1 - Discrete-Time Signals
Lab Exercise 1 - Discrete-Time Signals
Discrete-Time Signals
1. GENERATION OF SEQUENCES
1.1 Unit sample and unit step sequences
1. Insert a copy of program P1_1.m below:
2. Insert the unit sample sequence s[n] generated by running program P1_1.m
below:
4. Run program P1_1.m to generate a delayed unit sample sequence sd[n] with a
delay of 11 samples. Insert the sequence generated by running it below:
5. Modify program P1_1.m to generate a unit step sequence u[n]. Save the new
program as P1_1a.m. Insert a copy of the modified program along with the
sequence generated by running it below:
9. What is the parameter that controls the rate of growth or decay of this sequence?
10. What is the parameter that controls the amplitude of this sequence?
13. Insert below the sequence generated by running program P1_2.m with the
parameter “a” changed to 0.9 and the parameter “K” changed to 20:
15. What is the MATLAB command line that controls this length?
16. Calculate the energy of this sequence?
19. What is the parameter that controls the rate of growth or decay of this sequence?
- real:
- imag:
- subplot:
1.3 Sinusoidal sequences
22. Insert a copy of program P1_4.m below:
23. Insert the sinusoidal sequence generated by running program P1_4.m below:
25. What is the MATLAB command line that controls this frequency?
26. What is the parameter that controls the phase of this sequence?
27. What is the parameter that controls the amplitude of this sequence?
- grid:
39. Can the statement (x = s + d) be used instead of (x = s + d’) to generate the noise-
corrupted signal? Why?
40. What are the relations between the signals x1, x2, and x3, and the signal x?
- legend: