Given a number, check if it is an armstrong number.
Eg: n = 371
Output: 1
Eg: n = 75
Output: 0
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers27
Suggested Problems
-
Number of 1s in a binary string
11627 Solvers
-
Matrix indexing with two vectors of indices
783 Solvers
-
761 Solvers
-
Replace all zeros and NaNs in a matrix with the string 'error'
104 Solvers
-
Create a square matrix of zeros of even order
188 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!