File Exchange

image thumbnail


improving the function root in MATLAB

1 Download

Updated 26 May 2016

View License

As is evident the function "roots" finds all the roots of equation (both imaginary and real roots). Based on the boundary condition or the condition of the problem either real or imaginary roots are considered. For example if you have the 10th order equation finding the imaginary and real roots , and using them will be difficult.
The proposed Mfile can easily solved the above problem. On the other hand, it is like a filter for function root (For more information see the examples in the Mfile). The elapse time of the proposed Mfile is very short. The program has been performed in MATLAB 2009a to MATLAB 2015a.

Cite As

Alireza Shourangiz Haghighi (2020). myroots(Pcoef,tol,rootclass) (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

thanks alot

I think this program can be written better.
but the program is good.

That's cool.


Updated the file

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