MATLAB: How to save characters in a position instead of the position value in an array arrayMATLABstringvectors Example: str1:"Hello world of matlab" rem=[strfind(str1,' ')-1] rem is going to equal [5 12 15], but I want it to equal the character values [o d f]. How do I do this? Best Answer iwant = num2cell(str1(rem))
Best Answer