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

14 Solutions

9 Solvers

Last Solution submitted on May 19, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers9

Suggested Problems

More from this Author44

Problem Tags

Community Treasure Hunt

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

Start Hunting!