How to plot this signal?

I'm trying to plot this signal but I'm not sure where to start.
y(n) = ax(n) + bx(n 1) + cx(n 2)
where a=b=c=1/3

 Accepted Answer

Honglei Chen
Honglei Chen on 12 Sep 2014
Edited: Honglei Chen on 12 Sep 2014
y = filter([a b c],1,x);
plot(y)

More Answers (0)

Categories

Find more on Signal Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!