how do i create a recursive function that gives the number of digits in an integer? i.e. does the same that length function does in MATLAB
이전 댓글 표시
function r = length_of(n)
end
it seems to be easy but right now i'm stuck with it
채택된 답변
추가 답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 Whos에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!