U=[0.100 0.200 0.300 0.400 0.500 0.600 0.620 0.640 0.660 0.680 0.700 0.720 0.740 0.760 0.780 -1.00 -2.00 -3.00 -4.00 -5.00 -6.00 -7.00 -9.00 -11.00 -13.00 -17.00 -18.00 -19.00 -19.50 -20.00 -20.50 -20.80 -21.10 -21.40 -21.60 -21.70 -21.80];
I=[0.00 0.20 0.30 0.50 0.80 2.50 3.80 5.30 7.80 11.80 15.00 24.00 36.50 58.00 96.30 0.0050 0.0065 0.0070 0.0075 0.0078 -0.0100 -0.0182 -0.304 -0.364 -0.684 -0.684 -0.684 -2.154 -2.950 -5.000 -8.150 -12.34 -17.26 -23.44 -29.23 -35.64 -43.55];
[Usort,isort]=sort(U);
Isort=I(isort);
plot(Usort,Isort,'k.',Usort,Isort,'k');
grid on
xlabel('U(V)');
ylabel('I(mA)');
温馨提示:答案为网友推荐,仅供参考