(New page: == Periodic Signals ==)
 
(Periodic Signals)
Line 1: Line 1:
  
 
== Periodic Signals ==
 
== Periodic Signals ==
 +
 +
<pre>
 +
% Homework 2A Periodic Signals Revisited
 +
%David Record
 +
%September 3rd 2008
 +
 +
%Function f(x) = sin(x) -From Max Paganini's first homework
 +
%%%Make first plot
 +
dt = .1;
 +
time = 4*pi;
 +
t = [0:dt:time];
 +
y = sin(t);
 +
subplot(2,1,1);
 +
plot(t,y);
 +
 +
%%%Make second plot
 +
dt = pi/3.2;
 +
time = 4*pi;
 +
t = [0:dt:time];
 +
y = sin(t);
 +
subplot(2,1,2);
 +
plot(t,y);
 +
 +
%Part 2
 +
%Function: x(t) = e^(t*j/6) 
 +
 +
t=0.01:.01:1;
 +
y=exp(t*j/6);
 +
x=[]
 +
for d=1:10
 +
    x=[x,y];
 +
end
 +
 +
t=[0.01:.01:10];
 +
plot(t,x)
 +
 +
 +
 +
</pre>

Revision as of 12:47, 12 September 2008

Periodic Signals

% Homework 2A Periodic Signals Revisited
%David Record
%September 3rd 2008

%Function f(x) = sin(x) -From Max Paganini's first homework
%%%Make first plot
dt = .1;
time = 4*pi;
t = [0:dt:time];
y = sin(t);
subplot(2,1,1);
plot(t,y);

%%%Make second plot
dt = pi/3.2;
time = 4*pi;
t = [0:dt:time];
y = sin(t);
subplot(2,1,2);
plot(t,y);

%Part 2
%Function: x(t) = e^(t*j/6)  

t=0.01:.01:1;
y=exp(t*j/6);
x=[]
for d=1:10
    x=[x,y];
end

t=[0.01:.01:10];
plot(t,x)



Alumni Liaison

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

Buyue Zhang