Problem 60998. Bernstein Basis Polynomials

Return the coefficients of a Bernstein Basis Polynomial B(v,n) for degree n and order v -
%Examples
B(2, 5) = 10*x^2*(1-x)^3 = -10*x^5 + 30*x^4 - 30*3 + 10*x^2
Output = [-10 30 -30 10 0 0];
B(3, 3) = x^3
Output = [1 0 0 0];
Only vectorized solutions will be accepted. Check the test suite for banned functions.

Solution Stats

81.82% Correct | 18.18% Incorrect
Last Solution submitted on Sep 25, 2025

Solution Comments

Show comments

Problem Recent Solvers7

Suggested Problems

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!