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

Ph.D. 2007, working on developing cool imaging technologies for digital cameras, camera phones, and video surveillance cameras.

Buyue Zhang