Revision as of 16:07, 9 September 2008 by Choi88 (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Part 1

% Periodic Signal with frequency 2*pi Hz.
t=[0:0.001:40];
y=sin(t);
plot(t,y);

% Sampling Frequency 0.25 Hz
t=[0:4:40];
y2 = sin(t);
figure
plot(t,y2);

File:Parta.jpg ECE301Fall2008mboutin

Part 2

t=[0:0.1:35];
y=cos(t)+cos(pi*t);
y4=y;
for k=0:10:20000
    y2=cos(t-k)+cos(pi*(t-k));
    y4=y4+y2;
end
plot(t,y); % non-periodic Signal
figure
plot(t,y4); % almost preiodic signal

File:Parta2.jpg ECE301Fall2008mboutin

Alumni Liaison

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

Dr. Paul Garrett