mynewton

x1 =

     0


ekf =

exp((2-x)^2)


f =

     Inline function:
     f(x) = exp((2-x)^2)

{Error using <a href="matlab:helpUtils.errorDocCallback('diff')" style="font-weight:bold">diff</a>
Function 'diff' is not supported for class 'inline'.

Error in <a href="matlab:helpUtils.errorDocCallback('mynewton', 'C:\Users\Elena\Desktop\MATLAB\mynewton.m', 4)" style="font-weight:bold">mynewton</a> (<a href="matlab: opentoline('C:\Users\Elena\Desktop\MATLAB\mynewton.m',4,0)">line 4</a>)
df = diff(f)
} 
mynewton

x1 =

     0


ekf =

exp((2-x)^2)


f =

     Inline function:
     f(x) = exp((2-x)^2)

 
df =
 
exp((x - 2)^2)*(2*x - 4)
 

f1 =

   54.5982

{Error using <a href="matlab:helpUtils.errorDocCallback('feval')" style="font-weight:bold">feval</a>
Argument must contain a string or function_handle.

Error in <a href="matlab:helpUtils.errorDocCallback('mynewton', 'C:\Users\Elena\Desktop\MATLAB\mynewton.m', 7)" style="font-weight:bold">mynewton</a> (<a href="matlab: opentoline('C:\Users\Elena\Desktop\MATLAB\mynewton.m',7,0)">line 7</a>)
df1 = feval(df, x1)
} 
mynewton

x1 =

     0


ekf =

exp((2-x)^2)


f =

     Inline function:
     f(x) = exp((2-x)^2)

 
df =
 
exp((x - 2)^2)*(2*x - 4)
 

f1 =

   54.5982

{Error using <a href="matlab:helpUtils.errorDocCallback('feval')" style="font-weight:bold">feval</a>
Argument must contain a string or function_handle.

Error in <a href="matlab:helpUtils.errorDocCallback('mynewton', 'C:\Users\Elena\Desktop\MATLAB\mynewton.m', 7)" style="font-weight:bold">mynewton</a> (<a href="matlab: opentoline('C:\Users\Elena\Desktop\MATLAB\mynewton.m',7,0)">line 7</a>)
df1 = feval(df, x1)
} 
mynewton

x1 =

     0


ekf =

exp((2-x)^2)


f =

     Inline function:
     f(x) = exp((2-x)^2)

 
df =
 
exp((x - 2)^2)*(2*x - 4)
 

f1 =

   54.5982

{Error using <a href="matlab:helpUtils.errorDocCallback('feval')" style="font-weight:bold">feval</a>
Argument must contain a string or function_handle.

Error in <a href="matlab:helpUtils.errorDocCallback('mynewton', 'C:\Users\Elena\Desktop\MATLAB\mynewton.m', 9)" style="font-weight:bold">mynewton</a> (<a href="matlab: opentoline('C:\Users\Elena\Desktop\MATLAB\mynewton.m',9,0)">line 9</a>)
df1 = feval(df, x1)
} 
clear
clc
mynewton

x1 =

     0


ekf =

exp((2-x)^2)


f =

     Inline function:
     f(x) = exp((2-x)^2)

 
df =
 
exp((x - 2)^2)*(2*x - 4)
 

f1 =

   54.5982

{Error using <a href="matlab:helpUtils.errorDocCallback('feval')" style="font-weight:bold">feval</a>
Argument must contain a string or function_handle.

Error in <a href="matlab:helpUtils.errorDocCallback('mynewton', 'C:\Users\Elena\Desktop\MATLAB\mynewton.m', 9)" style="font-weight:bold">mynewton</a> (<a href="matlab: opentoline('C:\Users\Elena\Desktop\MATLAB\mynewton.m',9,0)">line 9</a>)
df1 = feval(df, x1)
} 
helpUtils.errorDocCallback('feval')
mynewton

x1 =

     0


ekf =

exp((2-x)^2)


f =

     Inline function:
     f(x) = exp((2-x)^2)

 
df =
 
exp((x - 2)^2)*(2*x - 4)
 

f1 =

   54.5982

{Error using <a href="matlab:helpUtils.errorDocCallback('evalin')" style="font-weight:bold">evalin</a>
Undefined function or variable 'x'.

Error in <a href="matlab:helpUtils.errorDocCallback('sym/eval', 'C:\Program Files\MATLAB\R2012b\toolbox\symbolic\symbolic\@sym\eval.m', 15)" style="font-weight:bold">sym/eval</a> (<a href="matlab: opentoline('C:\Program Files\MATLAB\R2012b\toolbox\symbolic\symbolic\@sym\eval.m',15,0)">line 15</a>)
    s = evalin('caller',vectorize(map2mat(char(x))));

Error in <a href="matlab:helpUtils.errorDocCallback('mynewton', 'C:\Users\Elena\Desktop\MATLAB\mynewton.m', 9)" style="font-weight:bold">mynewton</a> (<a href="matlab: opentoline('C:\Users\Elena\Desktop\MATLAB\mynewton.m',9,0)">line 9</a>)
df1 = eval(df)
} 
uiopen('C:\Users\Elena\Desktop\MATLAB\erg1\erg1.m',1)
uiopen('C:\Users\Elena\Desktop\MATLAB\erg4\erg4.m',1)
mynewton
{Error: <a href="matlab: opentoline('C:\Users\Elena\Desktop\MATLAB\mynewton.m',8,18)">File: mynewton.m Line: 8 Column: 18</a>
Unexpected MATLAB expression.
} 
help plot
 <strong>plot</strong>   Linear plot. 
    <strong>plot</strong>(X,Y) plots vector Y versus vector X. If X or Y is a matrix,
    then the vector is plotted versus the rows or columns of the matrix,
    whichever line up.  If X is a scalar and Y is a vector, disconnected
    line objects are created and plotted as discrete points vertically at
    X.
 
    <strong>plot</strong>(Y) plots the columns of Y versus their index.
    If Y is complex, <strong>plot</strong>(Y) is equivalent to <strong>plot</strong>(real(Y),imag(Y)).
    In all other uses of <strong>plot</strong>, the imaginary part is ignored.
 
    Various line types, plot symbols and colors may be obtained with
    <strong>plot</strong>(X,Y,S) where S is a character string made from one element
    from any or all the following 3 columns:
 
           b     blue          .     point              -     solid
           g     green         o     circle             :     dotted
           r     red           x     x-mark             -.    dashdot 
           c     cyan          +     plus               --    dashed   
           m     magenta       *     star             (none)  no line
           y     yellow        s     square
           k     black         d     diamond
           w     white         v     triangle (down)
                               ^     triangle (up)
                               <     triangle (left)
                               >     triangle (right)
                               p     pentagram
                               h     hexagram
                          
    For example, <strong>plot</strong>(X,Y,'c+:') plots a cyan dotted line with a plus 
    at each data point; <strong>plot</strong>(X,Y,'bd') plots blue diamond at each data 
    point but does not draw any line.
 
    <strong>plot</strong>(X1,Y1,S1,X2,Y2,S2,X3,Y3,S3,...) combines the plots defined by
    the (X,Y,S) triples, where the X's and Y's are vectors or matrices 
    and the S's are strings.  
 
    For example, <strong>plot</strong>(X,Y,'y-',X,Y,'go') plots the data twice, with a
    solid yellow line interpolating green circles at the data points.
 
    The <strong>plot</strong> command, if no color is specified, makes automatic use of
    the colors specified by the axes ColorOrder property.  By default,
    <strong>plot</strong> cycles through the colors in the ColorOrder property.  For
    monochrome systems, <strong>plot</strong> cycles over the axes LineStyleOrder property.
 
    Note that RGB colors in the ColorOrder property may differ from
    similarly-named colors in the (X,Y,S) triples.  For example, the 
    second axes ColorOrder property is medium green with RGB [0 .5 0],
    while <strong>plot</strong>(X,Y,'g') plots a green line with RGB [0 1 0].
 
    If you do not specify a marker type, <strong>plot</strong> uses no marker. 
    If you do not specify a line style, <strong>plot</strong> uses a solid line.
 
    <strong>plot</strong>(AX,...) plots into the axes with handle AX.
 
    <strong>plot</strong> returns a column vector of handles to lineseries objects, one
    handle per plotted line. 
 
    The X,Y pairs, or X,Y,S triples, can be followed by 
    parameter/value pairs to specify additional properties 
    of the lines. For example, <strong>plot</strong>(X,Y,'LineWidth',2,'Color',[.6 0 0]) 
    will create a plot with a dark red line width of 2 points.
 
    Example
       x = -pi:pi/10:pi;
       y = tan(sin(x)) - sin(tan(x));
       plot(x,y,'--rs','LineWidth',2,...
                       'MarkerEdgeColor','k',...
                       'MarkerFaceColor','g',...
                       'MarkerSize',10)
 
    See also <a href="matlab:help plottools">plottools</a>, <a href="matlab:help semilogx">semilogx</a>, <a href="matlab:help semilogy">semilogy</a>, <a href="matlab:help loglog">loglog</a>, <a href="matlab:help plotyy">plotyy</a>, <a href="matlab:help plot3">plot3</a>, <a href="matlab:help grid">grid</a>,
    <a href="matlab:help title">title</a>, <a href="matlab:help xlabel">xlabel</a>, <a href="matlab:help ylabel">ylabel</a>, <a href="matlab:help axis">axis</a>, <a href="matlab:help axes">axes</a>, <a href="matlab:help hold">hold</a>, <a href="matlab:help legend">legend</a>, <a href="matlab:help subplot">subplot</a>, <a href="matlab:help scatter">scatter</a>.

    Overloaded methods:
       <a href="matlab:help sfit/plot">sfit/plot</a>
       <a href="matlab:help phytree/plot">phytree/plot</a>
       <a href="matlab:help clustergram/plot">clustergram/plot</a>
       <a href="matlab:help HeatMap/plot">HeatMap/plot</a>
       <a href="matlab:help cfit/plot">cfit/plot</a>
       <a href="matlab:help gpuArray/plot">gpuArray/plot</a>
       <a href="matlab:help fints/plot">fints/plot</a>
       <a href="matlab:help iddata/plot">iddata/plot</a>
       <a href="matlab:help idnlhw/plot">idnlhw/plot</a>
       <a href="matlab:help idnlarx/plot">idnlarx/plot</a>
       <a href="matlab:help cgrules/plot">cgrules/plot</a>
       <a href="matlab:help xregtwostage/plot">xregtwostage/plot</a>
       <a href="matlab:help xregtransient/plot">xregtransient/plot</a>
       <a href="matlab:help xregmodel/plot">xregmodel/plot</a>
       <a href="matlab:help xregarx/plot">xregarx/plot</a>
       <a href="matlab:help localmulti/plot">localmulti/plot</a>
       <a href="matlab:help localmod/plot">localmod/plot</a>
       <a href="matlab:help localavfit/plot">localavfit/plot</a>
       <a href="matlab:help sweepset/plot">sweepset/plot</a>
       <a href="matlab:help mdevtestplan/plot">mdevtestplan/plot</a>
       <a href="matlab:help cgdatasetnode/plot">cgdatasetnode/plot</a>
       <a href="matlab:help dspdata.plot">dspdata.plot</a>
       <a href="matlab:help LinearModel/plot">LinearModel/plot</a>
       <a href="matlab:help timeseries/plot">timeseries/plot</a>
       <a href="matlab:help wdectree/plot">wdectree/plot</a>
       <a href="matlab:help ntree/plot">ntree/plot</a>
       <a href="matlab:help dtree/plot">dtree/plot</a>
       <a href="matlab:help wvtree/plot">wvtree/plot</a>
       <a href="matlab:help rwvtree/plot">rwvtree/plot</a>
       <a href="matlab:help edwttree/plot">edwttree/plot</a>

    Reference page in Help browser
       <a href="matlab:doc plot">doc plot</a>

help ezplot
 <strong>ezplot</strong>   Easy to use function plotter
    <strong>ezplot</strong>(FUN) plots the function FUN(X) over the default domain
    -2*PI < X < 2*PI, where FUN(X) is an explicitly defined function of X.
 
    <strong>ezplot</strong>(FUN2) plots the implicitly defined function FUN2(X,Y) = 0 over
    the default domain -2*PI < X < 2*PI and -2*PI < Y < 2*PI.
 
    <strong>ezplot</strong>(FUN,[A,B]) plots FUN(X) over A < X < B.
    <strong>ezplot</strong>(FUN2,[A,B]) plots FUN2(X,Y) = 0 over A < X < B and A < Y < B.
 
    <strong>ezplot</strong>(FUN2,[XMIN,XMAX,YMIN,YMAX]) plots FUN2(X,Y) = 0 over
    XMIN < X < XMAX and YMIN < Y < YMAX.
 
    <strong>ezplot</strong>(FUNX,FUNY) plots the parametrically defined planar curve FUNX(T)
    and FUNY(T) over the default domain 0 < T < 2*PI.
 
    <strong>ezplot</strong>(FUNX,FUNY,[TMIN,TMAX]) plots FUNX(T) and FUNY(T) over
    TMIN < T < TMAX.
 
    <strong>ezplot</strong>(FUN,[A,B],FIG), <strong>ezplot</strong>(FUN2,[XMIN,XMAX,YMIN,YMAX],FIG), or
    <strong>ezplot</strong>(FUNX,FUNY,[TMIN,TMAX],FIG) plots the function over the
    specified domain in the figure window FIG.
 
    <strong>ezplot</strong>(AX,...) plots into AX instead of GCA or FIG.
 
    H = <strong>ezplot</strong>(...) returns handles to the plotted objects in H.
 
    Examples:
    The easiest way to express a function is via a string:
       ezplot('x^2 - 2*x + 1')
 
    One programming technique is to vectorize the string expression using
    the array operators .* (TIMES), ./ (RDIVIDE), .\ (LDIVIDE), .^ (POWER).
    This makes the algorithm more efficient since it can perform multiple
    function evaluations at once.
       ezplot('x.*y + x.^2 - y.^2 - 1')
 
    You may also use a function handle to an existing function. Function
    handles are more powerful and efficient than string expressions.
       ezplot(@humps)
       ezplot(@cos,@sin)
 
    <strong>ezplot</strong> plots the variables in string expressions alphabetically.
       subplot(1,2,1), ezplot('1./z - log(z) + log(-1+z) + t - 1')
    To avoid this ambiguity, specify the order with an anonymous function:
       subplot(1,2,2), ezplot(@(z,t)1./z - log(z) + log(-1+z) + t - 1)
 
    If your function has additional parameters, for example k in myfun:
       %-----------------------%
       function z = myfun(x,y,k)
       z = x.^k - y.^k - 1;
       %-----------------------%
    then you may use an anonymous function to specify that parameter:
       ezplot(@(x,y)myfun(x,y,2))
 
    See also <a href="matlab:help ezcontour">ezcontour</a>, <a href="matlab:help ezcontourf">ezcontourf</a>, <a href="matlab:help ezmesh">ezmesh</a>, <a href="matlab:help ezmeshc">ezmeshc</a>, <a href="matlab:help ezplot3">ezplot3</a>, <a href="matlab:help ezpolar">ezpolar</a>,
             <a href="matlab:help ezsurf">ezsurf</a>, <a href="matlab:help ezsurfc">ezsurfc</a>, <a href="matlab:help plot">plot</a>, <a href="matlab:help vectorize">vectorize</a>, <a href="matlab:help function_handle">function_handle</a>.

    Overloaded methods:
       <a href="matlab:help sym/ezplot">sym/ezplot</a>
       <a href="matlab:help gpuArray/ezplot">gpuArray/ezplot</a>

    Reference page in Help browser
       <a href="matlab:doc ezplot">doc ezplot</a>

uiopen('C:\Users\Elena\Desktop\4th Semester\erg7\erg7.m',1)
help plot
 <strong>plot</strong>   Linear plot. 
    <strong>plot</strong>(X,Y) plots vector Y versus vector X. If X or Y is a matrix,
    then the vector is plotted versus the rows or columns of the matrix,
    whichever line up.  If X is a scalar and Y is a vector, disconnected
    line objects are created and plotted as discrete points vertically at
    X.
 
    <strong>plot</strong>(Y) plots the columns of Y versus their index.
    If Y is complex, <strong>plot</strong>(Y) is equivalent to <strong>plot</strong>(real(Y),imag(Y)).
    In all other uses of <strong>plot</strong>, the imaginary part is ignored.
 
    Various line types, plot symbols and colors may be obtained with
    <strong>plot</strong>(X,Y,S) where S is a character string made from one element
    from any or all the following 3 columns:
 
           b     blue          .     point              -     solid
           g     green         o     circle             :     dotted
           r     red           x     x-mark             -.    dashdot 
           c     cyan          +     plus               --    dashed   
           m     magenta       *     star             (none)  no line
           y     yellow        s     square
           k     black         d     diamond
           w     white         v     triangle (down)
                               ^     triangle (up)
                               <     triangle (left)
                               >     triangle (right)
                               p     pentagram
                               h     hexagram
                          
    For example, <strong>plot</strong>(X,Y,'c+:') plots a cyan dotted line with a plus 
    at each data point; <strong>plot</strong>(X,Y,'bd') plots blue diamond at each data 
    point but does not draw any line.
 
    <strong>plot</strong>(X1,Y1,S1,X2,Y2,S2,X3,Y3,S3,...) combines the plots defined by
    the (X,Y,S) triples, where the X's and Y's are vectors or matrices 
    and the S's are strings.  
 
    For example, <strong>plot</strong>(X,Y,'y-',X,Y,'go') plots the data twice, with a
    solid yellow line interpolating green circles at the data points.
 
    The <strong>plot</strong> command, if no color is specified, makes automatic use of
    the colors specified by the axes ColorOrder property.  By default,
    <strong>plot</strong> cycles through the colors in the ColorOrder property.  For
    monochrome systems, <strong>plot</strong> cycles over the axes LineStyleOrder property.
 
    Note that RGB colors in the ColorOrder property may differ from
    similarly-named colors in the (X,Y,S) triples.  For example, the 
    second axes ColorOrder property is medium green with RGB [0 .5 0],
    while <strong>plot</strong>(X,Y,'g') plots a green line with RGB [0 1 0].
 
    If you do not specify a marker type, <strong>plot</strong> uses no marker. 
    If you do not specify a line style, <strong>plot</strong> uses a solid line.
 
    <strong>plot</strong>(AX,...) plots into the axes with handle AX.
 
    <strong>plot</strong> returns a column vector of handles to lineseries objects, one
    handle per plotted line. 
 
    The X,Y pairs, or X,Y,S triples, can be followed by 
    parameter/value pairs to specify additional properties 
    of the lines. For example, <strong>plot</strong>(X,Y,'LineWidth',2,'Color',[.6 0 0]) 
    will create a plot with a dark red line width of 2 points.
 
    Example
       x = -pi:pi/10:pi;
       y = tan(sin(x)) - sin(tan(x));
       plot(x,y,'--rs','LineWidth',2,...
                       'MarkerEdgeColor','k',...
                       'MarkerFaceColor','g',...
                       'MarkerSize',10)
 
    See also <a href="matlab:help plottools">plottools</a>, <a href="matlab:help semilogx">semilogx</a>, <a href="matlab:help semilogy">semilogy</a>, <a href="matlab:help loglog">loglog</a>, <a href="matlab:help plotyy">plotyy</a>, <a href="matlab:help plot3">plot3</a>, <a href="matlab:help grid">grid</a>,
    <a href="matlab:help title">title</a>, <a href="matlab:help xlabel">xlabel</a>, <a href="matlab:help ylabel">ylabel</a>, <a href="matlab:help axis">axis</a>, <a href="matlab:help axes">axes</a>, <a href="matlab:help hold">hold</a>, <a href="matlab:help legend">legend</a>, <a href="matlab:help subplot">subplot</a>, <a href="matlab:help scatter">scatter</a>.

    Overloaded methods:
       <a href="matlab:help sfit/plot">sfit/plot</a>
       <a href="matlab:help phytree/plot">phytree/plot</a>
       <a href="matlab:help clustergram/plot">clustergram/plot</a>
       <a href="matlab:help HeatMap/plot">HeatMap/plot</a>
       <a href="matlab:help cfit/plot">cfit/plot</a>
       <a href="matlab:help gpuArray/plot">gpuArray/plot</a>
       <a href="matlab:help fints/plot">fints/plot</a>
       <a href="matlab:help iddata/plot">iddata/plot</a>
       <a href="matlab:help idnlhw/plot">idnlhw/plot</a>
       <a href="matlab:help idnlarx/plot">idnlarx/plot</a>
       <a href="matlab:help cgrules/plot">cgrules/plot</a>
       <a href="matlab:help xregtwostage/plot">xregtwostage/plot</a>
       <a href="matlab:help xregtransient/plot">xregtransient/plot</a>
       <a href="matlab:help xregmodel/plot">xregmodel/plot</a>
       <a href="matlab:help xregarx/plot">xregarx/plot</a>
       <a href="matlab:help localmulti/plot">localmulti/plot</a>
       <a href="matlab:help localmod/plot">localmod/plot</a>
       <a href="matlab:help localavfit/plot">localavfit/plot</a>
       <a href="matlab:help sweepset/plot">sweepset/plot</a>
       <a href="matlab:help mdevtestplan/plot">mdevtestplan/plot</a>
       <a href="matlab:help cgdatasetnode/plot">cgdatasetnode/plot</a>
       <a href="matlab:help dspdata.plot">dspdata.plot</a>
       <a href="matlab:help LinearModel/plot">LinearModel/plot</a>
       <a href="matlab:help timeseries/plot">timeseries/plot</a>
       <a href="matlab:help wdectree/plot">wdectree/plot</a>
       <a href="matlab:help ntree/plot">ntree/plot</a>
       <a href="matlab:help dtree/plot">dtree/plot</a>
       <a href="matlab:help wvtree/plot">wvtree/plot</a>
       <a href="matlab:help rwvtree/plot">rwvtree/plot</a>
       <a href="matlab:help edwttree/plot">edwttree/plot</a>

    Reference page in Help browser
       <a href="matlab:doc plot">doc plot</a>

mynewton
{Error: <a href="matlab: opentoline('C:\Users\Elena\Desktop\MATLAB\mynewton.m',8,18)">File: mynewton.m Line: 8 Column: 18</a>
Unexpected MATLAB expression.
} 
mynewton
{Error: <a href="matlab: opentoline('C:\Users\Elena\Desktop\MATLAB\mynewton.m',8,18)">File: mynewton.m Line: 8 Column: 18</a>
Unexpected MATLAB expression.
} 
mynewton

x1 =

     0


ekf =

exp((2-x)^2)


f =

     Inline function:
     f(x) = exp((2-x)^2)

 
df =
 
exp((x - 2)^2)*(2*x - 4)
 

f1 =

   54.5982

{Error using <a href="matlab:helpUtils.errorDocCallback('feval')" style="font-weight:bold">feval</a>
Argument must contain a string or function_handle.

Error in <a href="matlab:helpUtils.errorDocCallback('mynewton', 'C:\Users\Elena\Desktop\MATLAB\mynewton.m', 11)" style="font-weight:bold">mynewton</a> (<a href="matlab: opentoline('C:\Users\Elena\Desktop\MATLAB\mynewton.m',11,0)">line 11</a>)
df1 = feval(df, x1)
} 
mynewton

x1 =

     0


ekf =

exp((2-x)^2)


f =

     Inline function:
     f(x) = exp((2-x)^2)


df =

    19    -8   -72     0    10    -5    75   -79    53   -44    -9


f1 =

   54.5982

{Error using <a href="matlab:helpUtils.errorDocCallback('feval')" style="font-weight:bold">feval</a>
Argument must contain a string or function_handle.

Error in <a href="matlab:helpUtils.errorDocCallback('mynewton', 'C:\Users\Elena\Desktop\MATLAB\mynewton.m', 11)" style="font-weight:bold">mynewton</a> (<a href="matlab: opentoline('C:\Users\Elena\Desktop\MATLAB\mynewton.m',11,0)">line 11</a>)
df1 = feval(df, x1)
} 
clc
clear
clf
mynewton

x1 =

     0


ekf =

exp((2-x)^2)


f =

     Inline function:
     f(x) = exp((2-x)^2)


df =

    19    -8   -72     0    10    -5    75   -79    53   -44    -9


f1 =

   54.5982

{Error using <a href="matlab:helpUtils.errorDocCallback('feval')" style="font-weight:bold">feval</a>
Argument must contain a string or function_handle.

Error in <a href="matlab:helpUtils.errorDocCallback('mynewton', 'C:\Users\Elena\Desktop\MATLAB\mynewton.m', 11)" style="font-weight:bold">mynewton</a> (<a href="matlab: opentoline('C:\Users\Elena\Desktop\MATLAB\mynewton.m',11,0)">line 11</a>)
df1 = feval(df, x1)
} 
help feval
 <strong>feval</strong> Execute the specified function.
    <strong>feval</strong>(F,x1,...,xn) evaluates the function specified by a function
    handle or function name, F, at the given arguments, x1,...,xn.
    For example, if F = @foo, <strong>feval</strong>(F,9.64) is the same as foo(9.64).
 
    If a function handle is bound to more than one built-in or 
    M-file, (that is, it represents a set of overloaded functions), 
    then the data type of the arguments x1 through xn, determines 
    which function is executed.
 
    <strong>feval</strong> is usually used inside functions which take function
    handles or function strings as arguments.  Examples include 
    FZERO and EZPLOT.
 
    [y1,..,yn] = <strong>feval</strong>(F,x1,...,xn) returns multiple output arguments.
 
    Within methods that overload built-in functions, use BUILTIN(F,...)
    to execute the original built-in function.  Note that when using
    BUILTIN, F must be a function name and not a function handle.
 
    See also <a href="matlab:help assignin">assignin</a>, <a href="matlab:help function_handle">function_handle</a>, <a href="matlab:help functions">functions</a>, <a href="matlab:help builtin">builtin</a>, <a href="matlab:help eval">eval</a>, <a href="matlab:help evalin">evalin</a>.

    Overloaded methods:
       <a href="matlab:help fittype/feval">fittype/feval</a>
       <a href="matlab:help sfit/feval">sfit/feval</a>
       <a href="matlab:help mupadengine/feval">mupadengine/feval</a>
       <a href="matlab:help inline/feval">inline/feval</a>
       <a href="matlab:help cfit/feval">cfit/feval</a>
       <a href="matlab:help symfun/feval">symfun/feval</a>

    Reference page in Help browser
       <a href="matlab:doc feval">doc feval</a>

help diff
 <strong>diff</strong> Difference and approximate derivative.
    <strong>diff</strong>(X), for a vector X, is [X(2)-X(1)  X(3)-X(2) ... X(n)-X(n-1)].
    <strong>diff</strong>(X), for a matrix X, is the matrix of row differences,
       [X(2:n,:) - X(1:n-1,:)].
    <strong>diff</strong>(X), for an N-D array X, is the difference along the first
       non-singleton dimension of X.
    <strong>diff</strong>(X,N) is the N-th order difference along the first non-singleton 
       dimension (denote it by DIM). If N >= size(X,DIM), <strong>diff</strong> takes 
       successive differences along the next non-singleton dimension.
    <strong>diff</strong>(X,N,DIM) is the Nth difference function along dimension DIM. 
       If N >= size(X,DIM), <strong>diff</strong> returns an empty array.
 
    Examples:
       h = .001; x = 0:h:pi;
       diff(sin(x.^2))/h is an approximation to 2*cos(x.^2).*x
       diff((1:10).^2) is 3:2:19
 
       If X = [3 7 5
               0 9 2]
       then diff(X,1,1) is [-3 2 -3], diff(X,1,2) is [4 -2
                                                      9 -7],
       diff(X,2,2) is the 2nd order difference along the dimension 2, and
       diff(X,3,2) is the empty matrix.
 
    See also <a href="matlab:help gradient">gradient</a>, <a href="matlab:help sum">sum</a>, <a href="matlab:help prod">prod</a>.

    Overloaded methods:
       <a href="matlab:help sym/diff">sym/diff</a>
       <a href="matlab:help gpuArray/diff">gpuArray/diff</a>
       <a href="matlab:help fints/diff">fints/diff</a>
       <a href="matlab:help iddata/diff">iddata/diff</a>
       <a href="matlab:help localtruncps/diff">localtruncps/diff</a>
       <a href="matlab:help localpspline/diff">localpspline/diff</a>
       <a href="matlab:help localpoly/diff">localpoly/diff</a>

    Reference page in Help browser
       <a href="matlab:doc diff">doc diff</a>

diary off
