How do I differentiate between integer and floating point numbers in a double array?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Shubha
am 15 Jan. 2014
Kommentiert: Shubha
am 15 Jan. 2014
My requirement is to import data from Excel which has both integer and floating point numbers. For example, 1 and 2.5 I want to differentiate between them. But the Excel import coverts all numeric data into 'double' which is floating point by default.
Any help in this regard is appreciated! Thanks!
1 Kommentar
José-Luis
am 15 Jan. 2014
What makes you think 1 is stored as an integer? It might very well be a double.
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Import from MATLAB finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!