Calculates the value of the normalised polynomial with prescribed roots at x.
r | Vector of roots |
x | The polynomial is evaluated at this point. |
return value | The value of evaluation. |
In comparison, the function polynForRoots constructs the actual polynomial.
x0 = [5,8,444,827];
eps = (max(x0)-min(x0))/200;
x = min(x0)-2*eps..eps..max(x0)+2*eps;
y = (@(x) polynWithRootsVal(x))(#x);
plot(x,y)