How we can remove ''' from beginning and end of strings in a cell array in MATLAB R2015a? Suppose that we have this cell array:
When we open one of cells we have this:
I want convert whole cell array to double (numbers). Suppose that out cell array is final. Using cellfun(@str2double,final) returns Nan for all cells. str2double(final) returns Nan too.
PS.
10 last elements of final in command prompt has this structure:
ans =
''2310''
''2319''
''2313''
''2318''
''2301''
''2302''
''2303''
''2312''
''2304''
''2309''


NaN, then your cell array is not what you say it is. Please show us what the output looks like when you dofinal(1:20)for example in the MATLAB command prompt. Do not give us a screenshot of your workspace. - rayryeng