clc;clear all; close all;
Isc=5.74;
Voc=44.8; %开路输出电压
Im=5.32;
Vm=37.5;
V = 0:0.1:Voc;
C2 = (Vm/Voc-1)/log(1-Im/Isc);
C1 = (1-Im/Isc)*exp(-Vm/(C2*Voc));
I = Isc*(1-C1*(exp(V/(C2*Voc)-1)));
P = I.*V;
figure;plot(V,I); grid on;xlabel('V');ylabel('I');
figure;plot(V,P); grid on;xlabel('V');ylabel('P');
你的有函数,有数据,就能画出图。