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.

Answers (1)

KALYAN ACHARJYA
KALYAN ACHARJYA on 7 Jul 2019
Edited: KALYAN ACHARJYA on 7 Jul 2019
Its simple define the variable idp_eff and others too (if any)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products

Asked:

on 7 Jul 2019

Edited:

on 7 Jul 2019

Community Treasure Hunt

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

Start Hunting!