%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])
%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])