Find sum of digits in a number (like 4209=15)

Enter a number and calculate the sum of all digits
672 download
Aggiornato 4 lug 2011

Visualizza la licenza

This script sums up all digits in a number, for example the number 548012410121 will output 29 which is the sum of all digits

Cita come

Mohammad Saadeh (2025). Find sum of digits in a number (like 4209=15) (https://it.mathworks.com/matlabcentral/fileexchange/32047-find-sum-of-digits-in-a-number-like-4209-15), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2007a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Riconoscimenti

Ispirato: sum_digits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0