ELEC50003-P1-CW/Energy/Matlab Plot +Data/pvplot.asv

16 lines
248 B
Plaintext
Raw Permalink Normal View History

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);