How to break or split a line at NaN points in 1x15000 csv file?
1 回表示 (過去 30 日間)
古いコメントを表示
i have a csv file (1x15000) which needs to be splitted at specific points(NaN).
0 件のコメント
回答 (1 件)
Yuan Li
2019 年 10 月 21 日
You can start with finding the position of NaN, for example:
a is your loaded data array;
then use
[m,n]=find(isNaN(a));
you can locate the position of NaN, then you can use the locations to split the array.
4 件のコメント
参考
カテゴリ
Help Center および File Exchange で Cell Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!