You are on page 1of 7

Riza Arieyanda

ELKOM I-2006
065514060

TUGAS

Contoh 3:

x1 (t ) = cos 2π 10t

t=[-pi/20:0.01:pi/8];

x1=cos(2*pi*10*t);

subplot(1,2,1),plot(x1)

• t=[-pi/2:0.08:pi/2];

x1=cos(2*pi*10*t);

subplot(1,2,2),stem(x1)
x 2 (t ) = cos 2π 50t

t=[-pi/2:0.055:pi/2];

x2=cos(2*pi*50*t);

subplot(1,2,1),plot(x2)

t=[-pi/2:0.055:pi/2];

x2=cos(2*pi*50*t);

subplot(1,2,2),stem(x2)

Riza Arieyanda
ELKOM I-2006
065514060
4
Contoh 4:

x a (t ) = 3 cos100πt

• t=[-pi/10:0.01:pi/10];

xa=3*cos(100*pi*t);

subplot(1,2,1),plot(xa)

• t=[-pi/2:0.055:pi/2];

xa=3*cos(100*pi*t);

subplot(1,2,2),stem(xa)

Riza Arieyanda
ELKOM I-2006
065514060
4
Contoh 5:

x a (t ) = 3 cos50πt + 10 sin 300πt − cos100πt

• t=[-pi/2:0.055:pi/2];

xa=(3*cos(50*pi*t))+(10*sin(300*pi*t))-(cos(100*pi*t));

subplot(1,2,1),plot(xa)

Riza Arieyanda
ELKOM I-2006
065514060
4
subplot(1,2,1),stem(xa)

Riza Arieyanda
ELKOM I-2006
065514060
4
Contoh 6 :

x a (t ) = 3 cos 2000πt + 5 sin 6000πt + 10 cos12000πt

t=[-pi/2:0.055:pi/2];

xa=(3*cos(2000*pi*t))+(5*sin(6000*pi*t))+(10*cos(12000*pi*t));

subplot(1,2,1),plot(xa)

subplot(1,2,1),stem(xa)

Riza Arieyanda
ELKOM I-2006
065514060
4
Contoh 7:

π
x( n) = 6.35 cos( n)
10

n=[-pi/2:0.01:pi/2];

x=(6.35)*(cos((pi/10)*n));

subplot(1,2,1),plot(x)

Riza Arieyanda
ELKOM I-2006
065514060
4

You might also like