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
2 views (last 30 days)
Show older comments
function r = length_of(n)
end
it seems to be easy but right now i'm stuck with it
0 Comments
Accepted Answer
More Answers (1)
See Also
Categories
Find more on Inputs in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!