Find the solution of algebraic equation - MATLAB Cody - MATLAB Central

Problem 1155. Find the solution of algebraic equation

Difficulty:Rate
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]

Solution Stats

22.01% Correct | 77.99% Incorrect
Last Solution submitted on May 07, 2025

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8

Problem Recent Solvers55

Suggested Problems

More from this Author5

Problem Tags

Community Treasure Hunt

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

Start Hunting!