Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
the code is a function that inputs the initial guess for the method and outputs two arguments, first one is the converged root to the specified accuracy, and the second one is the iteration count to converge to that perticular threshold.
Important to note
- the code contains the function as 'f', the first derivative of the function as 'f1' and the second derivate as 'f2'. to go with a different function, you have to update all these.
- the error threshold is chosen as 1e-10. can be updated anytime.
- the function is designed to get input in both scalars and arrays of scalars (when the input is given as an array, the output will be an array of the same size with points diverged or converged). the count, on the other hand, is not programmed to give reasonable output for an array input (it would be a healthy exercise to program it by yourself).
Citation pour cette source
Owais Ali (2026). Halley Method (https://fr.mathworks.com/matlabcentral/fileexchange/110415-halley-method), MATLAB Central File Exchange. Extrait(e) le .
Informations générales
- Version 1.0.0 (1,32 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.0.0 |
