MATLAB: Cell array in matlab..

arraycell

Hi there, I have a cell array in matlab in the form of:
'f2=38.8504'
'f98=39.1628'
'f2=38.8504'
'f98=39.1628'
'f2=38.8504'
'f98=39.1628'
I do not want f2 or f98 I just want the values on the right of the equal sign (=) in a normal array rather than cell array.
Thanks.

Best Answer

One of the many solutions:
cellfun(@(x,y) str2double(x(y+1:end)),c, regexp(c,'='))
Let us know if the timings are fine.
Related Question