Import CSV file with mixed data types

前端 未结 9 2312
眼角桃花
眼角桃花 2020-11-27 04:13

I\'m working with MATLAB for few days and I\'m having difficulties to import a CSV-file to a matrix.

My problem is that my CSV-file contains almost only Strings and

9条回答
  •  没有蜡笔的小新
    2020-11-27 04:51

    I recommend looking at the dataset array.

    The dataset array is a data type that ships with Statistics Toolbox. It is specifically designed to store hetrogeneous data in a single container.

    The Statistics Toolbox demo page contains a couple vidoes that show some of the dataset array features. The first is titled "An Introduction to Dataset Arrays". The second is titled "An Introduction to Joins".

    http://www.mathworks.com/products/statistics/demos.html

提交回复
热议问题