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
 Spring '08
 HALVERSON
 Addition, Signal Processing, Summation

Click to edit the document details