How to break or split a line at NaN points in 1x15000 csv file?
조회 수: 3 (최근 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에서 Matrices and Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!