No3.docx

  • Uploaded by: M Ridho Ramadhan
  • 0
  • 0
  • April 2020
  • PDF

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


Overview

Download & View No3.docx as PDF for free.

More details

  • Words: 55
  • Pages: 1
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;

More Documents from "M Ridho Ramadhan"