{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

HW4_solutions

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

This preview shows pages 1–12. Sign up to view the full content.

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

View Full Document

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

View Full Document

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

View Full Document

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

View Full Document

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

View Full Document
Problem 6.a) 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) t = -4:.01:4; z=0.01*conv(f(t),f(t)); figure plot(-8:0.01:8,z) title(’\$z(t)=f(t) * f(t)\$’,’interpreter’,’latex’,’fontsize’,14) grid on 1
Problem 6.d)

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 14

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

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

View Full Document
Ask a homework question - tutors are online