Find Armstrong Numbers for Certain Range

Versión 1.0.0 (1,3 KB) por Rafi Ahmed
Function of Armstrong numbers for certain range.
7 descargas
Actualizado 28 sep 2019

Ver licencia

computes the armstrong numbers from xstart to xend inclusive
Armstrong number is a number that is the sum of its each digit raised to the power of the length of that number. Ex-1,2,3,4,153,370,371,407

For instance, 407 has number of digits 3 and the digits are 4,0 and 7
hence, the sum = 4^3 + 0^3 + 7^3 = 407

Citar como

Rafi Ahmed (2024). Find Armstrong Numbers for Certain Range (https://www.mathworks.com/matlabcentral/fileexchange/72882-find-armstrong-numbers-for-certain-range), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2018b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Digital Input and Output en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0