finding root of any polynomail using Newton Raphson method
*copy the file to your current directory.
Example-
If you want to find a root of
f(x)=6x^3+8x^2-3x^1+78,
write the command-
find_root([78 -3 8 6]);
on MATLAB command window.
*If you want to find another root, change the 100 in,
x=100; (4th line of find_root.m file) to another value as your preference and
rerun
find_root([78 -3 8 6]); command.
*for further details about the algorithm used to calculate
roots. refer
Cita come
Dimuthu Senanayaka (2025). finding root of any polynomail using Newton Raphson method (https://it.mathworks.com/matlabcentral/fileexchange/28836-finding-root-of-any-polynomail-using-newton-raphson-method), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- Mathematics and Optimization > Optimization Toolbox > Systems of Nonlinear Equations > Newton-Raphson Method >
Tag
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.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |
