File Exchange

image thumbnail

Find Armstrong Numbers for Certain Range

version 1.0.0 (1.3 KB) by Rafi Ahmed
Function of Armstrong numbers for certain range.


Updated 28 Sep 2019

View License

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

Cite As

Rafi Ahmed (2020). Find Armstrong Numbers for Certain Range (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

refat hasan

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags