Plotting discrete time signal

5 views (last 30 days)
hassannagaty
hassannagaty on 17 Nov 2015
Answered: fuzi tamer on 27 Feb 2017
Consider the following difference equation
Y[n-2]+aY[n-1]+bY[n]=x[n-1]+bx[n]
Plot Y[n] if x[n]=5u[n] , b=2,a=0.25 x[n]=u[n-4] , b=2,a=0.25
where u[n] is a unit a step function NOTE: This is a discrete signal. So I shall use the function "stem"

Answers (1)

fuzi tamer
fuzi tamer on 27 Feb 2017
5(0.75)^n sin(0.1*pi*n) u(n) n=[-20:20]

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!