I want to give a number to a participant of my experiment. The number is in it's name, for example: Participant ='AG_1100 02_Porti_29'. The number of the participant is in bold, but I want Matlab to change it to 02 or just 2. So that the result is: Participant = 02.
How can I do this?