File Exchange

image thumbnail

Roots of Polinomial

version 1.0.0.0 (118 Bytes) by Epri
We find the roots of any polynomial with the roots(p) function

1 Download

Updated 25 Jan 2016

View License

In MATLAB, a polynomial is expressed as a row vector of the form [an a(n-1) ... a2 a1 a0]. These
are the coefficients of the polynomial in descending order. We must include terms whose coefficients
are zero. We find the roots of any polynomial with the roots(p) function; p is a row vector containing the
polynomial coefficients in descending order.

Cite As

Epri (2021). Roots of Polinomial (https://www.mathworks.com/matlabcentral/fileexchange/55076-roots-of-polinomial), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Epri

Thanks John D'Errico :)
It was my first time in Matlab's life

John D'Errico

Worthless. This is nothing more than a 2 line script, that creates a specific polynomial then calls roots.

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!