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 ExchangeGet Started with MATLAB についてさらに検索

製品

質問済み:

2019 年 7 月 7 日

編集済み:

2019 年 7 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by