How do I increment a 4-digit number in a character array?
15 ビュー (過去 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?