(New page: The bug in the MATLAB program is that the sampling frequency here is uite large, as a result it is not getting enough points in order to plot a proper garph. When this sampling freuency is...)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
The bug in the MATLAB program is that the sampling frequency here is uite large, as a result it is not getting enough points in order to plot a proper garph.
 
The bug in the MATLAB program is that the sampling frequency here is uite large, as a result it is not getting enough points in order to plot a proper garph.
 +
 +
The code now will become
 +
 +
F0 =13;
 +
T0 =1/F0;
 +
Ts = 0.0007;
 +
t  = 0:Ts:13*T0;
 +
x = real(exp(j*(2*pi*F0*t-pi/2)));
 +
plot(t,x)
 +
 +
 
When this sampling freuency is reduced  then the graph comes out to be
 
When this sampling freuency is reduced  then the graph comes out to be
 +
 +
[[Image:figure3_ECE301Fall2008mboutin.jpg]]

Latest revision as of 13:44, 12 September 2008

The bug in the MATLAB program is that the sampling frequency here is uite large, as a result it is not getting enough points in order to plot a proper garph.

The code now will become

F0 =13; T0 =1/F0; Ts = 0.0007; t = 0:Ts:13*T0; x = real(exp(j*(2*pi*F0*t-pi/2))); plot(t,x)


When this sampling freuency is reduced then the graph comes out to be

Figure3 ECE301Fall2008mboutin.jpg

Alumni Liaison

Correspondence Chess Grandmaster and Purdue Alumni

Prof. Dan Fleetwood