Increment 3 digit value by 1 (i.e. 000, 001, 002,...,999)

6 views (last 30 days)
Hello,
Does anyone know how to increment values such that the first values are 000, 001, etc.? I need this for variable names that need to be in this format.
Any help is greatly appreciated.
NH

Answers (0)

Categories

Find more on Loops and Conditional Statements 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!