Sintak Matlab Percobaan 4 - Erma
-
Upload
jaime-luis-da-costa -
Category
Documents
-
view
49 -
download
2
description
Transcript of Sintak Matlab Percobaan 4 - Erma
Sintaks Percobaan 4
1. Sintaks Matlab untuk grafik perbandingan Voc teori dengan percobaan
V = [10] ;Voc_teori = [4] ;Voc_percobaan = [4.03] ;plot(V,Voc_teori,'o',V,Voc_percobaan,'*');xlabel('\bfV (volt)');ylabel('\bfVoc(volt)');title ('Ni Md Erma Pratiwi Astiti (1104405067)');axis ([0 20 3.5 4.3]);legend ('Teori','Percobaan');set(gca,'Xtick',[10]);set(gca,'Ytick',[4 4.03]);grid on;
2. Sintaks Matlab untuk grafik perbandingan Isc teori dengan percobaan.
I = [25] ;Isc_percobaan = [17] ;Isc_teori = [17.24] ;plot(I,Isc_teori,'o',I,Isc_percobaan,'*');xlabel('\bfI total (mA)');ylabel('\bfIsc (mA)');title ('Ni Md Erma Pratiwi Astiti (1104405067)');axis ([0 30 15 18]);legend ('Teori','Percobaan');set(gca,'Xtick',[25]);set(gca,'Ytick',[17 17.31]);grid on;
3. Sintaks Matlab Untuk Grafik Perbandingan Rth Teori Dengan Percobaan
Vth = [4] ;Rth_teori = [232] ;Rth_percobaan = [234.8] ;plot(Vth,Rth_teori,'o',Vth,Rth_percobaan,'*');xlabel('\bfVth (volt)');ylabel('\bfRth (ohm)');title ('Ni Md Erma Pratiwi Astiti (1104405067)');axis ([0 10 228.5 232.5]);legend ('Teori','Percobaan');set(gca,'Xtick',[4]);set(gca,'Ytick',[232 234.8]);grid on;
4. Sintaks Matlab Untuk Grafik Perbandingan A1 Teori Dengan Percobaan
V = [10] ;A1_percobaan = [12.04] ;A1_teori = [0.011] ;plot(V,A1_teori,'o',V,A1_percobaan,'*');xlabel('\bfV (volt)');ylabel('\bfA1 (mA)');title ('Ni Md Erma Pratiwi Astiti (1104405067)');axis ([5 15 10 13]);legend ('Teori','Percobaan');set(gca,'Xtick',[10]);set(gca,'Ytick',[0.011 12.045]);grid on;
5. Sintaks Matlab Untuk Grafik Perbandingan V1 Teori Dengan Percobaan
V = [10] ;V1_teori = [1.204] ;V1_percobaan = [1.217] ;plot(V,V1_teori,'o',V,V1_percobaan,'*');xlabel('\bfV (volt)');ylabel('\bfV1 (volt)');title ('Ni Md Erma Pratiwi Astiti (1104405067)');axis ([0 20 1.1 1.26]);legend ('Teori','Percobaan');set(gca,'Xtick',[10]);set(gca,'Ytick',[1.2045 1.217]);grid on;
6. Sintaks Matlab Untuk Grafik Perbandingan A2 Teori Dengan Percobaan
Vth = [4] ;A2_teori = [12.38] ;A2_percobaan = [0.011] ;plot(Vth,A2_teori,'o',Vth,A2_percobaan,'*');xlabel('\bfVth (volt)');ylabel('\bfA2 (mA)');title ('Ni Md Erma Pratiwi Astiti (1104405067)');axis ([1 5 11 13]);legend ('Teori','Percobaan');set(gca,'Xtick',[4]);set(gca,'Ytick',[0.011 12.05]);grid on;
7. Sintaks Matlab Untuk Grafik Perbandingan V3 Teori Dengan Percobaan
Vth = [4] ;V3_teori = [1.238] ;V3_percobaan = [1.1] ;plot(Vth,V3_teori,'o',Vth,V3_percobaan,'*');xlabel('\bfVth (volt)');ylabel('\bfV3 (volt)');title ('Ni Md Erma Pratiwi Astiti (1104405067)');axis ([1 5 1 1.25]);legend ('Teori','Percobaan');set(gca,'Xtick',[4]);set(gca,'Ytick',[1.1 1.205]);grid on;
8. Sintaks Matlab Untuk Grafik Perbandingan A4 Teori Dengan Percobaan
Isc = [17] ;A4_teori = [11.87] ;A4_percobaan = [0.010] ;plot(Isc,A4_teori,'o',Isc,A4_percobaan,'*');xlabel('\bfIsc (mA)');ylabel('\bfA4 (mA)');title ('Ni Md Erma Pratiwi Astiti (1104405067)');axis ([5 30 10 20]);legend ('Teori','Percobaan');set(gca,'Xtick',[17.24]);set(gca,'Ytick',[0.010 12 12.04]);grid on;
9. Sintaks Matlab Untuk Grafik Perbandingan V3 Teori Dengan Percobaan.
Isc = [17] ;V3_teori = [1.18] ;V3_percobaan = [1.090] ;plot(Isc,V3_teori,'o',Isc,V3_percobaan,'*');xlabel('\bfIsc (mA)');ylabel('\bfV3 (volt)');title ('Ni Md Erma Pratiwi Astiti (1104405067)');axis ([0 20 1.0 2.5]);legend ('Teori','Percobaan');set(gca,'Xtick',[17.24]);set(gca,'Ytick',[1.090 1.2 1.204]);grid on;