Compare the result obtained in part 3 with the first 20 samples of the analytical ZSR obtained in part 2. You can plot the difference between two signals. It should be a signal with very small samples

TimeDomain Analysis of DiscreteTime Systems
1. Use the function “impz” in MATLAB to find the first 20 samples of the impulse response of
the following system:
.
Verify that the impulse response of the above system is (plot the
result obtained from “impz” and the first 20 samples of in two subplots on the same
window).
2. Analytically (without MATLAB) calculate the zerostate response (Compare the result obtained in part 3 with the first 20 samples of the analytical ZSR obtained
in part 2. You can plot the difference between two signals. It should be a signal with very
small samples) of the system to the

input . The zerostate response is
3. Find the first 20 samples of the ZSR of the above system to the input (step
response) using MATLAB (you may use “filter” or “stepz” functions in MATLAB).
4. Compare the result obtained in part 3 with the first 20 samples of the analytical ZSR obtained
in part 2. You can plot the difference between two signals. It should be a signal with very
small samples