roots_
Versione 1.0.1 (1,15 KB) da
Kenneth Johnson
roots_(c) does not return zero when c(end) is nonzero.
Matlab's roots function does not satisfy the condition that roots(c) should not return any zero roots when c(end) is nonzero. For example, roots([1,1,1,1e-32]) incorrectly gives a root of exact zero. roots_([1,1,1,1e-32]) gives the correct root of -1e-32.
(Reported as Case Number 04335183 on 30 Jun 2020.)
Cita come
Kenneth Johnson (2024). roots_ (https://www.mathworks.com/matlabcentral/fileexchange/84280-roots_), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2020b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.