showing undefined variable error

idEp(n)=tm*dEq
idp_eff(n)=(K*idEp(n))-(((3*G*K*(M-ny(n)).*dEq)+(-1*K*K*ny(n).*(M-ny(n))*idEp(n)))/((3*G-(K*ny(n).*(M-ny(n))))+(peff(n).*((n_p-ny(n)).^2)./(a*n_p))));
idq(n)=((3*G*dEq)-(((-3*G*K*ny(n).*idEp(n))+(9*G*G*dEq))/((3*G-(K*ny(n).*(M-ny(n))))+(peff(n).*((n_p-ny(n)).^2)./(a*n_p)))));
error: idp_eff is undefined.

回答(1 个)

KALYAN ACHARJYA
KALYAN ACHARJYA 2019-7-7
编辑:KALYAN ACHARJYA 2019-7-7

0 个投票

Its simple define the variable idp_eff and others too (if any)

类别

在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by