myroots(Pcoef,tol,rootclass)
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.
Zitieren als
Alireza Shourangiz Haghighi (2025). myroots(Pcoef,tol,rootclass) (https://www.mathworks.com/matlabcentral/fileexchange/53135-myroots-pcoef-tol-rootclass), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxTags
Quellenangaben
Inspiriert von: Cross-correlation, Add to mat, K-Fold Cross Validation, Cross validation sets
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 | Updated the file |