Calculate the values of a polynomial. - MATLAB Cody - MATLAB Central

Problem 43617. Calculate the values of a polynomial.

Difficulty:Rate

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

76.29% Correct | 23.71% Incorrect
Last Solution submitted on Nov 21, 2024

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
1
2

Problem Recent Solvers73

Suggested Problems

More from this Author37

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!