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

76.92% Correct | 23.08% Incorrect
Last Solution submitted on Jan 26, 2026

Solution Comments

Show comments

Problem Recent Solvers8

Suggested Problems

More from this Author43

Problem Tags

Community Treasure Hunt

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

Start Hunting!