How to break or split a line at NaN points in 1x15000 csv file?
2 views (last 30 days)
Show older comments
Roobini Vijayabalan on 21 Oct 2019
Commented: Yuan Li on 24 Oct 2019
i have a csv file (1x15000) which needs to be splitted at specific points(NaN).
Yuan Li on 21 Oct 2019
You can start with finding the position of NaN, for example:
a is your loaded data array;
you can locate the position of NaN, then you can use the locations to split the array.
Find more on NaNs in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!