I have a series of strings which are contained within a nested cell array (because regexp loves to nest cells), and I would like to remove any non numeric or white space characters from them so that I can convert them to doubles, namely astrick.
I'm looking for the least painful way of removing any of these special characters from all strings. I do not have a sample file to attach, sorry, but I have dictated the shape of a sample array below.
X == 1x1 cellX{1} == 1x1 cell (because regexp can't help itself apparently)X{1}{1} = {'1234., ';'12.,* ';'1234., ','123.,* ',' 321.,* '};
Best Answer