Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Problem 1068. Guess the Coefficients!

Created by @bmtran

Given a polynomial p known to have positive integer coefficients, deduce the values of the coefficients.

For example:

    p = @(x) x^2 + 2*x + 15;
    c = guess_the_coefficients(p);

outputs

    c = [1 2 15]

Problem Group

Solution Statistics

30 correct solutions 31 incorrect solutions
Last solution submitted on Jul 10, 2014

Problem Comments

Solution Comments