NEED HELP FAST! I have several problem about ASCII file.
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
So, I have a ASCII data file with unknown number (NaN). My teacher want me to change NaN into -99.9999. But when I tried so many times, the undefined variable error is appear. WHAT SHOULD I DO? Pls I appreciate if anyone can help :))
1 Commento
Risposte (1)
Image Analyst
il 18 Lug 2018
What did you try? Did you try the obvious
data(isnan(data)) = -99.9999;
?? What error message did you get?
6 Commenti
Walter Roberson
il 18 Lug 2018
It would be easier to go back to the original text data and import that properly, than to continue working with this badly input .xlsx
Vedere anche
Categorie
Scopri di più su Data Type Conversion in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!