How do I replace data in a dataset?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I'm using a dataset that I generated from the output of a lab mate's code, and all of the "no data" values are currently listed as -1. I want to change all of the -1 values to NaN so that I can start to run stats on the data. Is there a way that I can do this? The variables in question are doubles (so I can't use strrep), but my dataset also has other variable types.
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!