Find sum of digits in a number (like 4209=15)

버전 1.0.0.0 (1.36 KB) 작성자: Mohammad Saadeh
Enter a number and calculate the sum of all digits
다운로드 수: 668
업데이트 날짜: 2011/7/4

라이선스 보기

This script sums up all digits in a number, for example the number 548012410121 will output 29 which is the sum of all digits

인용 양식

Mohammad Saadeh (2024). Find sum of digits in a number (like 4209=15) (https://www.mathworks.com/matlabcentral/fileexchange/32047-find-sum-of-digits-in-a-number-like-4209-15), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2007a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
도움

줌: sum_digits

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0