str2double/str2num
Show older comments
day='0001'; str2double(day) would give me 1 as answer, how do I get 0001 exact four number of digits for instance?
Accepted Answer
More Answers (0)
Categories
Find more on Data Type Conversion 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!