This document was uploaded by user and they confirmed that they have the permission to share
it. If you are author or own the copyright of this book, please report to us by using this DMCA
report form. Report DMCA
HIMPUNAN MAHASISWA ELEKTRO FAKULTAS TEKNIK UNIVERSITAS SRIWIJAYA NAMA : M. YUSUF RABBANI NIM : 03041281722045 TNJ 3.Menampilkan 3 grafik dalam 1 bidang >> t=0:0.1:10; >> x=sin(t); >> y=cos(t); >> z=cos((2*t)+20); >> plot(t,x,'m-') >> hold on >> plot(t,z,'cp') >> hold on >> plot(t,y,'gs') >> title('Triple Plot') >> xlabel('t'),ylabel('Amplitude') >> grid on >> legend('x=Sin(t)','y=cos(t)','z=cos(2*t+20)') >> hold off;