Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
Saeed Bello
Saeed Bello am 10 Apr. 2017
Geschlossen: MATLAB Answer Bot am 20 Aug. 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

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by