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

 採用された回答

madhan ravi
madhan ravi 2018 年 12 月 10 日

0 投票

F=nonlinear(1:3) % calling of the function

5 件のコメント

nouri
nouri 2018 年 12 月 10 日
tried..but still cant run it...
madhan ravi
madhan ravi 2018 年 12 月 10 日
編集済み: madhan ravi 2018 年 12 月 10 日
What now ? what's the error message ? paste everything in red
nouri
nouri 2018 年 12 月 11 日
Attached are the errors.
nouri
nouri 2018 年 12 月 11 日
finally i got the answer...thanks alot madhan.
madhan ravi
madhan ravi 2018 年 12 月 11 日
編集済み: madhan ravi 2018 年 12 月 11 日
Anytime :) , what answer did you get? I got the below:
6.461598829189919
29.066194355037609
-18.695950060271482

サインインしてコメントする。

その他の回答 (0 件)

タグ

質問済み:

2018 年 12 月 10 日

編集済み:

2018 年 12 月 11 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by