Sum the digits of a number recursively
Version 1.0.0 (1.03 KB) by
Saptarshi Neogi
This Matlab code finds the sum of the digits of a number recursively without using any inbuilt functions.
This Matlab code finds the sum of the digits of a number recursively without using any inbuilt functions.
Cite As
Saptarshi Neogi (2025). Sum the digits of a number recursively (https://www.mathworks.com/matlabcentral/fileexchange/79676-sum-the-digits-of-a-number-recursively), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2013a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |