1. why its showing "Error using pvcurve (line 15) Not enough input arguments,Error in thesis (line 15) x= fsolve(pvcurve,Ipv0);"?????
1 次查看(过去 30 天)
显示 更早的评论
FUNCTION CODE IS:
function F = pvcurve(Ipv)
Vpv=0.9;
global Np Ns Isc q T k Io n
Np = 1;
Ns=72;
Isc =1.82;
q= 1.6e-19;
T=298;
k=1.38e-23;
Io= 1.2987e-4;
n=1.8405;
F = -(Ipv)+ (Np*Isc)- Np*Io*((exp((q*Vpv)/(n*k*T*Ns))-1));
AND MAIN CODE IS :
clc
clear all
Vpv=0.9;
Ipv0 = 1;
global Np Ns Isc q T k Io n
Np = 1;
Ns=72;
Isc =1.82;
q= 1.6e-19;
T=298;
k=1.38e-23;
Io= 1.2987e-4;
n=1.8405;
x= fsolve(pvcurve,Ipv0);
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!