How do I convert a column to numeric?
Ältere Kommentare anzeigen
See the image

I want to count with the 1st column, but I always get the message "Undefined operator" - "for input arguments or type 'cell'." What can I do about it? I think the column is not numeric, but I am not sure. Who can help me?
8 Kommentare
Rik
am 6 Jun. 2018
You should really consider a tutorial in Matlab. If you plan on using Matlab it is really worth it to invest the time in learning how to work with it. Have you tried cell2mat?
jakobjakob
am 6 Jun. 2018
Rik
am 6 Jun. 2018
A double is a double precision floating point number: a numeric data type. Did you include the header text in the array you put into cell2mat?
Jan
am 6 Jun. 2018
I tested that with isstring etc.
We cannot read your mind. What is "etc."? What did you try and what did you get as answer? Do you see that the decimal separator is a comma? Then this cannot be numeric values, because Matlab uses a dot. You did not mention, where you got this screenshot from.
jakobjakob
am 6 Jun. 2018
jakobjakob
am 6 Jun. 2018
Stephen23
am 6 Jun. 2018
jakobjakob
am 6 Jun. 2018
Bearbeitet: jakobjakob
am 6 Jun. 2018
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!