MATLAB: How can i start a matlab for loop variable with 001 instead of 1

for loop

How can i start a matlab for loop variable with 001 instead of 1?

Best Answer

sprintf('%03d', SomeNumericValue)