Given a polynomial p known to have positive integer coefficients, deduce the values of the coefficients.
p = @(x) x^2 + 2*x + 15; c = guess_the_coefficients(p);
c = [1 2 15]
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry PiLearn more
Opportunities for recent engineering grads.Apply Today
New to MATLAB?Learn MATLAB today!
Play games and win prizes!Learn more