(New page: %David Hartmann %ECE 301 HW2A clear all clc Ts=0.0005; x=[-5*pi:Ts:5*pi]; y=sin(x)-cos(2*x); plot(x,y) grid on axis([-10 10 -1.25 2]))
 
 
Line 1: Line 1:
 +
'''Image 1'''
 +
 
%David Hartmann
 
%David Hartmann
  
Line 16: Line 18:
  
 
plot(x,y)
 
plot(x,y)
 +
 +
grid on
 +
 +
axis([-10 10 -1.25 2])
 +
 +
 +
'''Image 2'''
 +
 +
%David Hartmann
 +
 +
%ECE 301 HW2A
 +
 +
clear all
 +
 +
clc
 +
 +
 +
 +
Ts=pi/2;
 +
 +
x=[-5*pi:Ts:5*pi];
 +
 +
y=sin(x)-cos(2*x);
 +
 +
scatter(x,y,'filled')
 +
 +
grid on
 +
 +
axis([-10 10 -1.25 2])
 +
 +
'''Image 3'''
 +
 +
%David Hartmann
 +
 +
%ECE 301 HW2A
 +
 +
clear all
 +
 +
clc
 +
 +
 +
 +
Ts=3;
 +
 +
x=[-5*pi:Ts:5*pi];
 +
 +
y=sin(x)-cos(2*x);
 +
 +
scatter(x,y,'filled')
  
 
grid on
 
grid on
  
 
axis([-10 10 -1.25 2])
 
axis([-10 10 -1.25 2])

Latest revision as of 15:14, 12 September 2008

Image 1

%David Hartmann

%ECE 301 HW2A

clear all

clc


Ts=0.0005;

x=[-5*pi:Ts:5*pi];

y=sin(x)-cos(2*x);

plot(x,y)

grid on

axis([-10 10 -1.25 2])


Image 2

%David Hartmann

%ECE 301 HW2A

clear all

clc


Ts=pi/2;

x=[-5*pi:Ts:5*pi];

y=sin(x)-cos(2*x);

scatter(x,y,'filled')

grid on

axis([-10 10 -1.25 2])

Image 3

%David Hartmann

%ECE 301 HW2A

clear all

clc


Ts=3;

x=[-5*pi:Ts:5*pi];

y=sin(x)-cos(2*x);

scatter(x,y,'filled')

grid on

axis([-10 10 -1.25 2])

Alumni Liaison

Abstract algebra continues the conceptual developments of linear algebra, on an even grander scale.

Dr. Paul Garrett