Write a Matlab program to plot the samples of the solutions of the difference equations in Exercise

Question:

Write a Matlab program to plot the samples of the solutions of the difference equations in Exercise 1.9 from \(n=0\) to \(n=20\).

Exercise 1.9

Find one solution for each of the difference equations below:

(a) \(y(n)+2 y(n-1)+y(n-2)=0, y(0)=1\) and \(y(1)=0\)

(b) \(y(n)+y(n-1)+2 y(n-2)=0, y(-1)=1\) and \(y(0)=1\).

Step by Step Answer:

Related Book For  answer-question

Digital Signal Processing System Analysis And Design

ISBN: 9780521887755

2nd Edition

Authors: Paulo S. R. Diniz, Eduardo A. B. Da Silva , Sergio L. Netto

Question Posted: