Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: missing data check
Date: Tue, 31 Mar 2009 01:34:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 25
Message-ID: <gqrru9$9s3$1@fred.mathworks.com>
References: <gqrn1a$boa$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1238463241 10115 172.30.248.37 (31 Mar 2009 01:34:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 31 Mar 2009 01:34:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1343420
Xref: news.mathworks.com comp.soft-sys.matlab:528858


"Kuo-Hsien" <mchangks@hotmail.com> wrote in message <gqrn1a$boa$1@fred.mathworks.com>...
> Hi all,
> 
> Are there any possibilities to process the missing data check based on the time series?!
> 
> Here is the data look like as below. In this case, some data points are missing from time 600 to 2300. How to list the date and time at the missing data point? Thanks.
> 
> 2007	1	30	4.0033	237.58
> 2007	1	100	4.0282	232.89
> 2007	1	130	5.4415	257.04999
> 2007	1	200	5.0331	251.24001
> 2007	1	400	4.4454	244.00999
> 2007	1	430	4.2275	233.69
> 2007	1	500	3.2998	204.71001
> 2007	1	530	2.6559	208.42
> 2007	1	2330	3.7164	238.63
> 2007	1	2400	4.0033	237.61
> 2007	2	30	4.0033	237.58
> 2007	2	100	4.0282	232.89
> :
> :
--------------------------------------------------------------------------------------------------------------
Kuo-Hsien:
Scan the data into an array.  Then use diff() on the third column looking for any differences that are greater than largest gap you are willing to accept.
-ImageAnalyst