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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Find the solution of algebraic equation of the form

an*x^n + a(n-1)*x^(n-1) + (an-2)*x^(n-2)+...... a2*x^2 + a1*x^1 + a0 = 0;

Input to the function is of the form : [an an-1 an-2 .....a2 a1 a0] :coef vector

eg: equation x^5-5=2 -> Input = [1 0 0 0 0 -5]

15 correct solutions
34 incorrect solutions

Last solution submitted on Jan 28, 2015

4 Comments