Problem 61003. Padovan Polynomials
Hello there. I'm afraid I bear bad news - Anakin Skywalker is no longer a Jedi.
But fear not young Padawan, we shall not falter against the Sith.
(Believe me, this is going to help us fight against the treacherous and evil Sith empire)
P1(x) = 1
output = 1;
P1(x) = 0
output = 0;
P3(x) = x;
output = [1 0];
P5(x) = x^2
output = [1 0 0];
P8(x) = 3*x^2;
output = [3 0 0];
Young Padawan, there will be obstacles on this path. Be wary of them.
(Only vectorized solutions will be accepted. Check the test suite for banned functions)
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers5
Suggested Problems
-
5 Solvers
More from this Author40
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!