uiopen('G:\ce213\MATLAB\ERG2\st_pin.m',1)
clear all; clc; clf;
x= 100

x =

   100

n= 50

n =

    50

exp_x = my_exp(x,n)
Error in <a href="matlab:helpUtils.errorDocCallback('my_exp', 'G:\ce213\MATLAB\ERG3\my_exp.m', 1)" style="font-weight:bold">my_exp</a> (<a href="matlab: opentoline('G:\ce213\MATLAB\ERG3\my_exp.m',1,0)">line 1</a>)
function value = my_exp(x,n)
{Output argument "value" (and maybe others) not assigned during call to
"G:\ce213\MATLAB\ERG3\my_exp.m>my_exp".
} 
clear all; clc; clf;
x= 100

x =

   100

n= 50

n =

    50

exp_x = my_exp(x,n)

exp_x =

   6.4558e+35


clear all; clc; clf;
x= 100

x =

   100

n= 50

n =

    50

exp_x = my_exp(x,n)

exp_x =

   6.4558e+35


y = -100

y =

  -100

exp_y = my_exp(y,n)

exp_y =

   2.1871e+35

 function value = my_exp(x,n)
|
{Error: Function definitions are not permitted in this context.
} 
erg3

x =

   100


n =

    50


exp_x =

   6.4558e+35


y =

  -100


exp_y =

   2.1871e+35


ans =

   1.5490e-36


error =

  156.3031

erg3

x =

   100


n =

    50


exp_x =

   6.4558e+35


y =

  -100


exp_y =

   2.1871e+35


ans =

   1.5490e-36


error =

   4.9203e-07

diary off
