Removing strings or NaNs from data to be plotted
Mostrar comentarios más antiguos
Hi, I have txt files which represent results of measurements of objects in flight and occasionally an object will not be present, as a feature this is of as much interest as the objects we get data for. So the txt file will show the missing objects with a string of letters, all other fields in the file being numbers (except for the headers). I have tried for days to replace the strings with an empty cell, in a cell array, but this cannot be plotted directly from the cell array. When i convert the Cellarray to doubles the blanks are filled by NaNs which I cannot plot either. I am sure I am missing something obvious but I have been reading all the documentation online and tried to tweak solutions to other peoples questions to no avail, I always end up with something that only does half the job I want. Any ideas?
Best regards
1 comentario
Stephen Devlin
el 16 de Sept. de 2016
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Data Type Identification en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
