Eliminating specific data from a file
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Lorenzo
am 9 Dez. 2023
Kommentiert: Star Strider
am 12 Dez. 2023
Currently I am working with variables that have 1400 data inputs each and some of them come out as NaN. Is there a way to scan the variables to remove the NaNs and create new ones automatically? I tried setting it up with a for and an if cycle but didn’t find much success, will send screenshot of my attempts asap since I don’t have them with me rn.
0 Kommentare
Akzeptierte Antwort
Star Strider
am 9 Dez. 2023
There are functions like fillmissing to interpolate the NaN entries and rmmissing to delete them (the entire row with a NaN entry).
4 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Holidays / Seasons finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!