Problem 1068. Guess the Coefficients!

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);


    c = [1 2 15]

Solution Stats

48.0% Correct | 52.0% Incorrect
Last solution submitted on Oct 20, 2016

Problem Comments

Solution Comments

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

MATLAB Academy

New to MATLAB?

Learn MATLAB today!