I have a matrix that goes [0001 0002 0003 0004 0005 0006 … 0130]. I now want to make it into the matrix ['0001' '0002' '0003' '0004' … '0130']. Is there a way to do this, as I noticed it's very hard to do with a for loop, since Matlab recognises 'any text here' as an input command.
I want to use this for the intents of reading multiple data files using the code:
for i = 1:130OutputV1 = csvread(sprintf('scope_%s_1.csv', measnr{i})end
Where at the %s the number given in the matrix should go. If there is any easier way to do this that goes around the problem please let me know as well.
Big thanks in advance
Best Answer