(→PERIODIC AND NON-PERIODIC DT SIGNALS FROM A CT SIGNAL) |
(→PERIODIC AND NON-PERIODIC DT SIGNALS FROM A CT SIGNAL) |
||
Line 37: | Line 37: | ||
<\pre> | <\pre> | ||
− | [[HW_2B PLOTS_ECE301Fall2008mboutin]] | + | [[HW_2B PLOTS_ECE301Fall2008mboutin.jpg]] |
Revision as of 16:43, 12 September 2008
PERIODIC AND NON-PERIODIC DT SIGNALS FROM A CT SIGNAL
%ECE 301 %Daniel Barjum %HW 2A clear clc %periodic CT signal f = 1; t = 0:0.001:10; x = real(exp(j*2*pi*f*t)); subplot(3,1,1); plot(t,x) title('e^{(j*2\pi*f*)t} periodic CT signal'); %periodic DT signal f = 1/(2*pi); n = 0:1:10; x = real(exp(j*2*pi*f*n)); subplot(3,1,2); stem(n,x) title('e^{(j*2\pi*f*)t} periodic DT signal'); %non - periodic DT signal f = pi - 3; n = 0:1:10; x = real(exp(j*2*pi*f*n)); subplot(3,1,3); stem(n,x) title('e^{(j*2\pi*f*)t} non-periodic DT signal'); <\pre> [[HW_2B PLOTS_ECE301Fall2008mboutin.jpg]]