How do I differentiate between integer and floating point numbers in a double array?
4 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
José-Luis
2014 年 1 月 15 日
What makes you think 1 is stored as an integer? It might very well be a double.
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Import from MATLAB についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!