Evaluate polynomial on vector or matrix.
1 2 3
vector representing a polynomial.
vector of values where to evaluate the polynomial.
matrix; needs to be square.
polyval valuates the polynomial given by
p at the
values specified by the elements of
a matrix, the polynomial will be evaluated at each element and
a matrix returned.
polyvalm will evaluate the polynomial in the matrix sense,
i.e., matrix multiplication is used instead of element by element
multiplication as used in 'polyval'. The argument matrix
must be a square matrix.
Vector of values, resp. a matrix.
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.