(New page: '''Problem''' Since the Ts value is quite large,ie .07 and the period of the sinusoidal t0 = .0769 So, we cant plot 13 ycles of 13Hz accurately as we hardly get 1 point in each cycle. ''' ...)
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
'''Problem'''
 
'''Problem'''
 
Since the Ts value is quite large,ie .07 and the period of the sinusoidal t0 = .0769 So, we cant plot 13 ycles of 13Hz accurately as we hardly get 1 point in each cycle.
 
Since the Ts value is quite large,ie .07 and the period of the sinusoidal t0 = .0769 So, we cant plot 13 ycles of 13Hz accurately as we hardly get 1 point in each cycle.
'''
 
Solution'''
 
However when we lower the Ts value considerably,say Ts=0.7/100 we increase the step size and get a clearer sinusoidal wave.
 
  
'''Matlab code:'''
 
  
F0 =13;
+
'''Solution'''
 +
 
 +
However when we lower the Ts value considerably,say Ts=0.7/100 we increase the step size and get a clearer sinusoidal wave.
 +
 
 +
'''Matlab code:'''. <pre>F0 =13;
 
T0 =1/F0;
 
T0 =1/F0;
 
Ts = 0.07/100;
 
Ts = 0.07/100;
Line 13: Line 13:
 
x = real(exp(j*(2*pi*F0*t-pi/2)));
 
x = real(exp(j*(2*pi*F0*t-pi/2)));
 
plot(t,x)
 
plot(t,x)
 +
</pre>

Latest revision as of 16:31, 9 September 2008

Problem Since the Ts value is quite large,ie .07 and the period of the sinusoidal t0 = .0769 So, we cant plot 13 ycles of 13Hz accurately as we hardly get 1 point in each cycle.


Solution

However when we lower the Ts value considerably,say Ts=0.7/100 we increase the step size and get a clearer sinusoidal wave.

Matlab code:.
F0 =13;
T0 =1/F0;
Ts = 0.07/100;
t = 0:Ts:13*T0;
x = real(exp(j*(2*pi*F0*t-pi/2)));
plot(t,x)

Alumni Liaison

Basic linear algebra uncovers and clarifies very important geometry and algebra.

Dr. Paul Garrett