non linear equation "problem with not enough arguments"
Show older comments
Im wriitng this to verify my non-linear equations..but having problem with this problem :
"nlinearval
Error using nlinearval (line 14)
Not enough input arguments.
function F=nlinearval(z)
Can anyone help me how i can solve this problem? Below are my coding:
function F=nlinearval(z)
%define constants
Isc=8.53;
Voc=44.9;
Vmp=36.1;
Imp=8.04;
Ns=72;
dv_di_oc=-0.48766;
di_dv_sc=-2.48797e-3;
q=1.6e-19;
k=1.381e-23;
T=298;
x = z(1);
y = z(2);
w= z(3);
Rsh = -1/(di_dv_sc);
b=exp(q*((Vmp+Imp*w)/(Ns*y*k*T)));
c=exp((Voc*q)/(Ns*y*k*T));
F(1)=[x-((Isc-(Voc/Rsh))/(c-1))-0];
F(2)=Imp-Isc+x*b+((Vm+Imp*w)/(Rsh));
F(3)=w+dv_di_oc+(1/((x*q)/((Ns*y*k*T)*c)));
end
Accepted Answer
More Answers (0)
Categories
Find more on Linear Predictive Coding in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!