ECE220 - Lab2

ECE220 - Lab2 - hold off-4-3-2-1 1 2 3 4-1-0.5 0.5 1 1.5 2...

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

View Full Document Right Arrow Icon
ECE 220 - Lab 2 9/1/10 IV. PULSE SIGNALS t = -4:0.001:4; tau = 1; p_tau = (t >= -tau/2) & (t < tau/2); p1_tau = (2*t >= -tau/2) & (2*t < tau/2); p2_tau = (0.5*t >= -tau/2) & (0.5*t < tau/2); p3_tau = (2*t >= (-2*tau/2)-2) & (2*t < (2*tau/2)-2); s = p1_tau + p2_tau + p3_tau; hold on plot (t, s); xlabel( 't -->' ) ylabel( 's3(t) -->' ) title( 'The function s3(t)' ) grid on axis([-4 4 -1 2])
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
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: hold off-4-3-2-1 1 2 3 4-1-0.5 0.5 1 1.5 2 t --&gt; p (t) --&gt; The function p (t), = 1 VI. How does the period of a signal change due to nonlinear processing f1t = cos(2*pi*250*t); f2t = cos(2*pi*500*t); ft = f1t.*f2t; ft = f1t^2; ft = abs(f1t); for t &gt;= -tau/2 &amp;&amp; t &lt; 0{ f1t = 1; } for t &gt;= 0 &amp;&amp; t &lt; tau/2{ f1t = -1; } plot (t,f1t);...
View Full Document

Page1 / 2

ECE220 - Lab2 - hold off-4-3-2-1 1 2 3 4-1-0.5 0.5 1 1.5 2...

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

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