hi, can any one help me please.

This is my matlab code t = 2*10^-9; L = 50*10^-6; R = 50*10^-9; u = (R+t)^2 - R^2; e(u) = sqrt( 1 - (( R^2 + u ) / ( (L/2)^2 + u))); I am getting error while it runs

 Accepted Answer

You should not use e(u). Remove (u) after e. Like this down here:
t = 2*10^-9;
L = 50*10^-6;
R = 50*10^-9;
u = (R+t)^2 - R^2;
e = sqrt( 1 - (( R^2 + u ) / ( (L/2)^2 + u)));
Amid.

More Answers (0)

Categories

Find more on Vehicle Dynamics Blockset in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!