Navigation

Operators and Keywords

Function List:

C++ API

polyval.m File Reference


Functions

endif if (nargin< 3) s
 !assert (delta, expected, 0.00001)%!test%!x
 !assert (y1, y, sqrt(eps))%!assert(yn
 sqrt (eps))%!test%!p
 !assert (x, polyval(p, x), eps)%!x

Variables

 function [y, dy]
endif if (!(isvector(p)||isempty(p))) error("polyval
endif!test !r = 0:10:50
 !p = poly (r)
 !x = linspace(0,50,11)
 !y = polyval(p,x) + 0.25*sin(100*x)
 !expected
 !y1 = polyfit (x, y, numel (x) - 1) polyval (p, x)
 !yn = polyval (pn, x, [], mu)
 y

Function Documentation

!assert ( ,
polyval(p, x)  ,
eps   
)

!assert ( y1  ,
,
sqrt(eps)   
)

!assert ( delta  ,
expected  ,
0.  00001 
)

endif if (  ) 

sqrt ( eps   ) 

Type Constraints


Variable Documentation

Initial value:

 polyfit (x, y, numel(r)) polyval (pf, x, s) [0.37235, 0.35854, 0.32231, 0.32448, 0.31328, ...
%!    0.32036, 0.31328, 0.32448, 0.32231, 0.35854, 0.37235]

!p = poly (r)

endif !test !r = 0:10:50

!x = linspace(0,50,11)

!y = polyval(p,x) + 0.25*sin(100*x)

!y1 = polyfit (x, y, numel (x) - 1) polyval (p, x)

!yn = polyval (pn, x, [], mu)

function[y, dy]

Initial value:

 polyval (p, x, s, mu)

  if (nargin < 2 || nargin > 4 || (nargout == 2 && nargin < 3))
    print_usage ()

endif if(!(isvector(p)||isempty(p))) error("polyval

y