Plot the following signals on page and in MATLAB, considering x(n) = your
registration number:
(a) x(n-2)
(b) x(n+3)
(c) x(-n+2)
(d) x(-n-3)
Hint: let your registration number be 11204316 then x (n) = {1, 1, 2, 0, 4, 3, 1, 6}, and 4th sample value
will be at n = 0 time.
fig1=figure;
fig2=figure;
fig3=figure;
figure(fig1);
subplot(2,2,1);
plot(x,y1);
xlabel('value');
ylabel('oye');
title('First');
subplot(2,2,2);
plot(x,y2);
xlabel('value');
ylabel('oye');
title('Second');
subplot(2,1,2);
plot(x,y3);
xlabel('value');
ylabel('oye');
title('Third');
Comments
Leave a comment