data = '0.00640869<' '0.00640869<' '-0.00598145' '-0.00598145' '-0.0010376<' '-0.0010376<' '-0.00604248' '-0.00213623' '0.00567627<' '-0.00219727' '0.00567627<'% 11x1 cell
to remove the non-numeric character;
data_num = regexp(data,'[0-9]+.[0-9]+', 'match');
In this case, negative signs (-) are also removed. How can I modify this code to get – signs?
Best Answer