Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How do I assign Nan to data entry after reading data file using textscan?

1 visualización (últimos 30 días)
Saeed Bello
Saeed Bello el 10 de Abr. de 2017
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I have a data in the following format
DATE TIME DOY TAMX TAMY TAMZ TAMG
2010-01-01 00:00:00.000 001 33564.50 -272.20 17140.00 -.30
2010-01-01 00:15:00.000 001 33564.50 -272.20 17140.00 -.30
2010-01-01 00:30:00.000 001 33564.50 -272.20 17140.00 -.30
2010-01-01 00:45:00.000 001 33564.50 -272.20 17140.00 -.30
2010-01-01 01:00:00.000 001 33564.50 -272.20 17140.00 -.30
2010-01-01 01:15:00.000 001 33564.50 -272.20 17140.00 -.30
2010-01-01 01:30:00.000 001 33564.50 -272.20 17140.00 -.30
2010-01-01 01:45:00.000 001 33564.50 -272.20 17140.00 -.30
'
'
'
2010-01-01 23:45:00.000 001 33564.50 -272.20 17140.00 -.30
How can I read the data and assign NaN to periods with no data (e.g., if no data on 2010-01-01 02:00:00.000. The data interval is 15 minute

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by