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

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

Dr. Paul Garrett