Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

StudefHl ID Recal, an a linear and time invariant DT systems can be modeled by a

ID: 2268467 • Letter: S

Question

StudefHl ID Recal, an a linear and time invariant DT systems can be modeled by a difference equation with constant coefficients of the form y(k)-yo ba(k-i)-y.lajy(k-j) for k=0, 1,2,.." Part I (in-class 1. Identify the orders (m ad n) of the following difference equation: y(k #3)-6y( k ) + y(k-1) = x(k) orders 2. Write a different equation with order of m=2 and n=2 3. A digital filter is described by the following difference equation m(k)-m( k-1) + m(k-2)-e(k ): k 0, 1,2,3, a. solve for the first four values of m(k) using the sequential technique if the with m(-1 ) = m(-2) = 0 mco) -o-o = 1 Part II (take home assignment) m2)-m(-1), Write a MTALB program that calculate m (k) in part (3) Please submit the take-home part no later in class on Wed Feb 7 2018

Explanation / Answer

Answers given in this pic are already correct. MATLAB code is not there, so I am providong the MATLAB code.

Matlab Code:

m(0) = 0

for k = 1:3

if (k==1)

e(k) = 0;

m(k) = e(k)+m(k-1);

else

e(k) = 0;

  m(k) = e(k)+m(k-1)-m(k-2);

end