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

89.47% Correct | 10.53% Incorrect
Last Solution submitted on May 24, 2020

Problem Comments