Cody

Problem 43617. Calculate the values of a polynomial.

Calculate the values of a polynomial.Input parameter p - vector of polynomial coefficients, x - matrix of the argument values.

Example

p=[-1 1]

x=[1 2;3 4]

result=[ 0 -1; -2 -3]

Solution Stats

94.29% Correct | 5.71% Incorrect
Last solution submitted on Oct 13, 2019

Problem Comments