1 2 3 4 5 6 7 8 9 10
| clear clc Ym=[-0.002,-0.011,-0.031,-0.046,-0.072,-0.140,-0.618,-0.731,-0.894,-1.148,-1.582,-1.672,-1.688,-1.748,-1.901,-2.068,-2.250,-2.677,-2.926,-3.206,-3.888,-4.311,-4.806,-6.106,-6.276,-6.493,-6.618,-6.803,-7.195,-8.105,-8.656,-9.267,-9.962,-10.353,-10.766,-11.214,-11.214,-11.533,-11.645,-11.893,-12.094,-12.146,-12.273,-12.352,-12.457]; R=[300,600,900,1000,1100,1200,1300,1305,1310,1315,1320,1325,1330,1350,1400,1450,1500,1600,1650,1700,1800,1850,1900,2000,2010,2020,2030,2040,2060,2100,2120,2140,2160,2170,2180,2190,2200,2700,3000,4000,5000,6000,8000,10000,15000]; I=Ym./R; Xm=I; plot(Xm,Ym); title("非线性负组电路元件伏安特性",'FontName','SimHei'); xlabel("电流(A)",'FontName','SimHei'); ylabel("电压(V)",'FontName','SimHei');
|