How do I increment a 4-digit number in a character array?
조회 수: 1 (최근 30일)
I've got a 1x4 character array containing a 4-digit number.
IRN = '0050';
I'm looking for a way to increment this number in a for loop. For example, with 3 iterations the output of the for loop would be as follows;
Can MATLAB increment numbers, within a character array, in a for loop?