This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: x [ n ] at n = 1 to be zero. 3. Plot the following signals (a) y 1 [ n ] = x [ n ] + 2. Solution: n1=n; y1=x+2; stem(n1,y1); % Note that x and n are defined in problem 2 (b) y 2 [ n ] = 3 x [ n ]. Solution: n2=n; y2=3*x; stem(n2,y2); (c) y 3 [ n ] =-x [ n ]. Solution: n3=n; y3=-x; stem(n3,y3); (d) y 4 [ n ] = x [ n + 1]. Solution: n4=-1:4; y4=x; stem(n4,y4); (e) y 5 [ n ] = x [-n ]. 1 Solution: n5=-n; y5=x; stem(n5,y5); (f) y 6 [ n ] = x [2 n ]. Solution: n6=0:2; y6=x(1:2:end); stem(n6,y6); 2...
View Full Document
This note was uploaded on 01/01/2012 for the course ECEN 314 taught by Professor Halverson during the Spring '08 term at Texas A&M.
- Spring '08