I have following string array and I am trying to find out which string has value that are not equal to zero. I used str2num but apparently I am missing something here to get it right, any tips?
a = ' 0.5%' ' 0.0%' ' 0.0%' ' 0.0%' '16.0%' ' 0.5%' ' 0.0%' ' 2.8%' ' 0.0%' '11.6%' ' 0.5%' ' 8.3%' ' 0.0%' '36.7%' '23.2%'Result should look like above except 0.0% taken out!
Best Answer