I have attached my problem please write its matlab command.

1 view (last 30 days)
f = @(delv)(sqrt(2.*q.*Nsub./Csi.*(delv+vt.*(ni./Nsub).^2.*(exp(delv./vt)-1))+(vt.*(exp(-delv./vt)-1))));
delv=Vs1-Vbef+A-R-S-B(1+(Cox./Csi))-(-(q.*Np.*tsi./Cox)+(Csi.*f./Cox)).*(1+Cox./Csi);

Answers (1)

madhan ravi
madhan ravi on 9 Nov 2018
Edited: madhan ravi on 9 Nov 2018
f = @(delv) str2sym('(sqrt(2.*q.*Nsub./Csi.*(delv+vt.*(ni./Nsub).^2.*(exp(delv./vt)-1))+(vt.*(exp(-delv./vt)-1))))');
delv=@(f) str2sym('Vs1-Vbef+A-R-S-B(1+(Cox./Csi))-(-(q.*Np.*tsi./Cox)+(Csi.*f./Cox)).*(1+Cox./Csi)');
f(delv) %f is a function of delv
delv(f) %delv is a function of f
  6 Comments
A GARG
A GARG on 11 Nov 2018
My program is too long and it has many variables defined into the other. So the main problem is I am unable to get the value returned after iteration. Can you help in iteration portion particularly?
madhan ravi
madhan ravi on 11 Nov 2018
Edited: madhan ravi on 11 Nov 2018
which value do you want to return ? attach your script file

Sign in to comment.

Categories

Find more on Programming in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!