You are on page 1of 12

Tugas Asistensi sinyal dan Sistem

Nama : Gus Khoirul Anam


Nim : C.411.19.0062
Kelas : T. Elektro B pagi
Matkul : Sinyal dan Sistem
Dosen Pengampu : Harmini,ST,M.Eng
Dosen Asistensi : Isya Aryan S.,ST.,MT
Jawab :

1.
>> % Gus Khoirul Anam
>> % C.411.19.0062
>> % Teknik Elektro B pagi
>> T=100;
>> t=0:1/T:10;
>> x=cos(t*pi/4);
>> plot(t,x)
>> xlabel('sumbu X')
>> ylabel('sumbu Y')
>> title ('gambar sinyal')
>> grid on;
>> % Gus Khoirul Anam
>> % C.411.19.0062
>> % T.Elektro B pagi
>> T=100;
>> t=0:1/T:4;
>> x=sin((2*pi/3)*t);
>> plot(t,x)
>> xlabel('sumbu X')
>> ylabel('sumbu Y')
>> title ('gambar sinyal')
>> grid on;

>> % Gus Khoirul Anam


>> % C.411.19.0062
>> % T.Elektro B pagi
>> T=100;
>> t=0:1/T:62;
>> x1=cos(pi/3*t);
>> subplot(3,1,1)
>> plot(t,x1)
>> title('sinyal gambar cos')
>> grid on
>> x2=sin(pi/4*t);
>> subplot(3,1,2)
>> plot(t,x2)
>> title('sinyal gambar sin')
>> x3=x1+x2;
>> subplot(3,1,3)
>> plot(t,x3)
>> title('sinyal gambar pertambahan')
>> grid on;

>> % Gus Khoirul Anam


>> % C.411.19.0062
>> % T.Elektro B pagi
>> t=(1:100)/4;
>> x1=cos(t);
>> x2=sin((2^1/2)*t);
>> xy=x1+x2;
>> subplot(2,1,1)
>> plot(t,x1,t,x2,'linewidth',2)
>> xlabel('waktu(t)')
>> ylabel('u(t)')
>> title('sinyal periodik berupa sinyal sinus')
>> subplot(2,1,2)
>> plot(t,xy,'linewidth',2)
>> xlabel('waktu(t)')
>> ylabel('x(t)=x1(t)+x2(t)')
>> title('sinyal periodik berupa sinyal sinus')
>> grid on;

2.

>> % Gus Khoirul Anam


>> % C.411.19.0062
>> % T.Elektro B pagi
>> t=(1:100)/1000;
>> f=62;
>> x=2*cos(6*pi*f*t);
>> plot(t,x)
>> title('sinyal kontinyu')
>> xlabel('periode')
>> ylabel('amplitudo')
>> grid on;
Memiliki sinyal diskrit seperti di bawah :
>> % Gus Khoirul Anam
>> % C.411.19.0062
>> % T.Elektro B pagi
>> t=(1:100)/1000;
>> f=62;
>> x=2*cos(6*pi*f*t);
>> plot(t,x)
>> stem(t,x)
>> title('sinyal kontinyu')
>> xlabel('periode')
>> ylabel('amplitudo')
>> grid on;
3.

Contoh :
4.

5.

You might also like