Line 1: Line 1:
 +
 +
 
<pre>
 
<pre>
  
Line 6: Line 8:
 
plot(t,x)
 
plot(t,x)
  
 +
</pre>
 
[[image: cdperiodic.jpg]]
 
[[image: cdperiodic.jpg]]
  
Line 16: Line 19:
 
x = sin(2*pi*F0*t);
 
x = sin(2*pi*F0*t);
 
plot(t,x)
 
plot(t,x)
 +
 +
</pre>
  
 
[[image: cdnonperiodic.jpg]]
 
[[image: cdnonperiodic.jpg]]

Revision as of 14:12, 11 September 2008



%Periodic signal
t  = 0:0.001:20; 
x = sin(t);
plot(t,x)

File:Cdperiodic.jpg

%Periodic signal turned non-periodic by setting the sampling period to 0.1
F0 =13; 
T0 =1/F0; 
Ts = 0.1;
t  = 0:Ts:13*T0; 
x = sin(2*pi*F0*t);
plot(t,x)

File:Cdnonperiodic.jpg

Alumni Liaison

Correspondence Chess Grandmaster and Purdue Alumni

Prof. Dan Fleetwood