HW4_solutions

HW4_solutions - Problem 6.a) function y=f(t) %This function...

Info iconThis preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 8
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
function y=f(t) %This function computes the value of -t(u(t+1)-u(t)) y=-t.*((t+1>=0)-(t>=0)); Problem 6.b) t= -4:.01:4; subplot(3,2,1) plot(t,f(t)) title(’$f(t)$’,’interpreter’,’latex’,’fontsize’,14) grid on ylim([-1/2 3/2]) subplot(3,2,2) plot(t,f(-t)) title(’$f_1(t)=f(-t)$’,’interpreter’,’latex’,’fontsize’,14) grid on ylim([-1/2 3/2]) subplot(3,2,3) plot(t,f(t-1)+f(1-t)) title(’$f_2(t) = f(t-1) + f(1-t)$’,’interpreter’,’latex’,’fontsize’,14) grid on ylim([-1/2 5/2]) subplot(3,2,4) plot(t,f(t-1)+f(-t-1)) title(’$f_3(t) = f(t-1)+f(-t-1)$’,’interpreter’,’latex’,’fontsize’,14) grid on ylim([-1/2 5/2]) subplot(3,2,5) plot(t,f(t-1/2)+f(-(t+1/2))) title(’$f_4(t) = f(t-1/2)+f(-(t+1/2))$’,’interpreter’,’latex’,’fontsize’,14) grid on ylim([-1/2 3/2]) subplot(3,2,6) plot(t, 3/2*f(t/2-1) ) title(’$f_5(t) = 3/2f(t/2-1)$’,’interpreter’,’latex’,’fontsize’,14) grid on ylim([-1/2 2]) Problem 6.c)
Background image of page 10
Image of page 11
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/08/2011 for the course EE 111 taught by Professor Kim during the Spring '11 term at Korea University.

Page1 / 14

HW4_solutions - Problem 6.a) function y=f(t) %This function...

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online