I am new to Matlab. I am working on one year output data of a detector. I faced problems regarding the data processing procedure. Since then I have been learning matlab.
I have continuously named 365 output files such as 20140101 , 20140102 .... 20140110 (in format of YYYYMMDD) . Each files have same structure as follows :
I need to export values of nV from all output files into one new file in a order. nV has 2880 values. So i need to make new text file which has 1051200 x 2 array data. However, some output files are missing. For examle, lets say i need to plot 10 day datas, however the detector didn't work on the 6th and 8th day so there will be only 8 datas. But since I need to plot time dependant graphic, if there is no output file i want to insert some NaN values or 0 into the new file where nVs are exported. So I was wondering if it is possible?
What I need is a file wich has stucture as follows:
1 006.55 (nV of 20140101)
2 007.59 (nV of 20140102)
6 0 (since there is no output file as 20140106)
8 0 (since there is no output file as 20140108)
I have attached 10day sample datas.