Asked by A GARG
on 9 Nov 2018

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);

Answer by madhan ravi
on 9 Nov 2018

Edited by 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

madhan ravi
on 11 Nov 2018

"Don't worry about the other variables, they are well defined in my program."

If you want a proper help provide all the necessary details

A GARG
on 11 Nov 2018

madhan ravi
on 11 Nov 2018

which value do you want to return ? attach your script file

Sign in to comment.

Opportunities for recent engineering grads.

Apply Today
## 0 Comments

Sign in to comment.