mirror of
https://github.com/supleed2/ELEC50003-P1-CW.git
synced 2024-11-12 18:55:50 +00:00
16 lines
248 B
Plaintext
16 lines
248 B
Plaintext
|
data = csvread ( "pvlast.csv");
|
||
|
voltage = data(:,7);
|
||
|
current = data(:,3);
|
||
|
|
||
|
power = current.*
|
||
|
|
||
|
|
||
|
|
||
|
figure;
|
||
|
plot(voltage, abs(current), 'x');
|
||
|
xlabel('voltage (mV)');
|
||
|
ylabel('current (mA)');
|
||
|
title('PV panel IV characteristic');
|
||
|
set(gca,'FontSize',25);
|
||
|
|