(Part 1)
(Part 1)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Part 1 ==
 
== Part 1 ==
 
<pre>
 
<pre>
Given the Signal <math>y=cos(pi*t)</math>, One can make 2 DT Signals one that is periodic and one that is nonperiodic.
+
Given the Signal </pre><math>y=cos(pi*t)</math><pre>
 
Lets say the Sampling rate is 1. Then the Signal is non periodic as seen in the diagram below.
 
Lets say the Sampling rate is 1. Then the Signal is non periodic as seen in the diagram below.
[[Image:nonper_ECE301Fall2008mboutin.jpg]]
+
</pre>
 +
[[Image:Nonper_ECE301Fall2008mboutin.jpg]]
 +
<pre>
 
If the sampling frequency is 2 then the Signal is periodic as seen below.
 
If the sampling frequency is 2 then the Signal is periodic as seen below.
[[Image:per_ECE301Fall2008mboutin.jpg]]
+
</pre>
 +
[[Image:Per_ECE301Fall2008mboutin.jpg]]
  
 
== MATLAB CODE ==
 
== MATLAB CODE ==
 +
<pre>
 
t=[1 2 3 4 5 6 7 8 9 10 11 12 13]
 
t=[1 2 3 4 5 6 7 8 9 10 11 12 13]
 
y=cos(pi.*t)
 
y=cos(pi.*t)
Line 13: Line 17:
 
plot(t,y,'.')
 
plot(t,y,'.')
 
xlabel('Time')
 
xlabel('Time')
ylabel('cos(pi*t')
+
ylabel('cos(pi*t)')
 
title('NonPeriodic Signal)')
 
title('NonPeriodic Signal)')
 
t=t.*(2)
 
t=t.*(2)
Line 22: Line 26:
 
ylabel('cos(pi*t')
 
ylabel('cos(pi*t')
 
title('NonPeriodic Signal)')
 
title('NonPeriodic Signal)')
 +
</pre>
  
 
== Part 2 ==
 
== Part 2 ==
 +
<pre>
 +
The non Periodic CT Signal is 2^t
 +
I made this periodic my shift 2^t from 0 to 4 several times as seen in the picture below
 +
</pre>
 +
[[Image:Part2_ECE301Fall2008mboutin.JPG]]
 +
== MATLAB CODE ==
 +
<pre>
 +
t=0:.001:4;
 +
y=2.^t;
 +
plot(t,y,t+4,y,t+8,y,t+12,y,t+16,y)

Latest revision as of 18:13, 10 September 2008

Part 1

Given the Signal 
$ y=cos(pi*t) $

Lets say the Sampling rate is 1. Then the Signal is non periodic as seen in the diagram below.

Nonper ECE301Fall2008mboutin.jpg

If the sampling frequency is 2 then the Signal is periodic as seen below.

Per ECE301Fall2008mboutin.jpg

MATLAB CODE

t=[1 2 3 4 5 6 7 8 9 10 11 12 13]
y=cos(pi.*t)
figure(1)
plot(t,y,'.')
xlabel('Time')
ylabel('cos(pi*t)')
title('NonPeriodic Signal)')
t=t.*(2)
y=cos(pi.*t)
figure(2)
plot(t,y,'.')
xlabel('Time')
ylabel('cos(pi*t')
title('NonPeriodic Signal)')

Part 2

The non Periodic CT Signal is 2^t
I made this periodic my shift 2^t from 0 to 4 several times as seen in the picture below

Part2 ECE301Fall2008mboutin.JPG

MATLAB CODE

t=0:.001:4;
y=2.^t;
plot(t,y,t+4,y,t+8,y,t+12,y,t+16,y)

Alumni Liaison

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

Dr. Paul Garrett