Read one column from a csv file into MATLAB for calculating
이전 댓글 표시
I'd like to read one column from a csv file '2004.csv' which already in the MATLAB path. The column contains 'NaN' value and I want to treat it as empty. The column looks like following:
ArrDelay
NaN
-14
2
14
-6
NaN
11
57
...
-6
NaN
11
57
The variable name is 'ArrDelay' which is the title of the column. The column contains 7009729 records and I'd like to calculate the mean of those records.
How can I make it?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Tables에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!