isarmstrong(n)

Armstrong Numbers are those n-digit numbers, equal to the sum of the nth powers of its digits.
130 Downloads
Updated 2 Mar 2016

View License

Armstrong Numbers are having the property that an n-digit Armstrong Number will be equal to the sum of the nth powers of its digits. Examples are 0,1,2, 3, 4, 5, 6, 7, 8, 9, 153, 370, 371, 407, 1634, 8208, 9474, ...

Cite As

Dr Raveendranathan K C (2024). isarmstrong(n) (https://www.mathworks.com/matlabcentral/fileexchange/48603-isarmstrong-n), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Characters and Strings in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
2.0.0.0

This is a modified version.

1.1.0.0

This is a slightly modified version; starts with 0.

1.0.0.0