#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Pattern Matching

I'm doing emission testing on a diesel engine capturing Co, Co2, Nox,
No & HC levels with the trace data being captured to an Excel
spreadsheet. The test's are 20 minutes long with varing speeds and
loads. The data is captured at 1 second intervals for a total of 1200
points. What I would like to do is take a small sample of the trace
data, say a 10 second interval, and see if there are any matching
points in the rest of the trace. I'm not concerned if the overal value
is greater or lower, I am more interested in the curve of the trace
matching,

ie. selected sample trace A = 2,4,6,8,6,4,2,2,4 trace B =
12,14,16,18,16,14,12,12,14
B trace value is greater than A, but the curve of the trace is the
same.

Is there a function within Excel that can do this? Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Pattern Matching

the correl() function may do what you want. You will probably need to work
with a statistician as to what values are significant for your process and
sample sizes, (it will be different for each combination

" wrote:

I'm doing emission testing on a diesel engine capturing Co, Co2, Nox,
No & HC levels with the trace data being captured to an Excel
spreadsheet. The test's are 20 minutes long with varing speeds and
loads. The data is captured at 1 second intervals for a total of 1200
points. What I would like to do is take a small sample of the trace
data, say a 10 second interval, and see if there are any matching
points in the rest of the trace. I'm not concerned if the overal value
is greater or lower, I am more interested in the curve of the trace
matching,

ie. selected sample trace A = 2,4,6,8,6,4,2,2,4 trace B =
12,14,16,18,16,14,12,12,14
B trace value is greater than A, but the curve of the trace is the
same.

Is there a function within Excel that can do this? Thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Pattern Matching

I checked out the correl function, usable, but not what I'm looking
for. I need something that will search my 1200 data points to find a
matching curve.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 84
Default Pattern Matching

=IF(10=SUMPRODUCT(--(($C$1:$C$20-$A1:$A10)=($C$1-$A1))),"Curve Match
Begins", "-")

If your 1200 data points are in A1:A1200, and your 10-point sample is
in C1:C10,
put the above formula in B1 and copy down. "Curve Match Begins" will
flag the start of a complete match, if any.

This looks for an exact match. I.e., if the differences between nine
pairs of points is 8 but the tenth difference is 8.01, this version of
the formula will not indicate a matching curve.

- David


On Sep 20, 8:26 am, wrote:
I'm doing emission testing on a diesel engine capturing Co, Co2, Nox,
No & HC levels with the trace data being captured to an Excel
spreadsheet. The test's are 20 minutes long with varing speeds and
loads. The data is captured at 1 second intervals for a total of 1200
points. What I would like to do is take a small sample of the trace
data, say a 10 second interval, and see if there are any matching
points in the rest of the trace. I'm not concerned if the overal value
is greater or lower, I am more interested in the curve of the trace
matching,

ie. selected sample trace A = 2,4,6,8,6,4,2,2,4 trace B =
12,14,16,18,16,14,12,12,14
B trace value is greater than A, but the curve of the trace is the
same.

Is there a function within Excel that can do this? Thanks



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 84
Default Pattern Matching

If you want to use Correl():

=IF(CORREL($C$1:$C$10, $A1:$A10)=$G$1,"Correlation","-")


G1 holds your minimum acceptable correlation coefficient (such as .
9999).
All the data in column A, with sample in C1:C10.
This formula in B1 and copy down. "Match" flags the first data point
of the similar curve.

- David


On Sep 20, 8:26 am, wrote:
I'm doing emission testing on a diesel engine capturing Co, Co2, Nox,
No & HC levels with the trace data being captured to an Excel
spreadsheet. The test's are 20 minutes long with varing speeds and
loads. The data is captured at 1 second intervals for a total of 1200
points. What I would like to do is take a small sample of the trace
data, say a 10 second interval, and see if there are any matching
points in the rest of the trace. I'm not concerned if the overal value
is greater or lower, I am more interested in the curve of the trace
matching,

ie. selected sample trace A = 2,4,6,8,6,4,2,2,4 trace B =
12,14,16,18,16,14,12,12,14
B trace value is greater than A, but the curve of the trace is the
same.

Is there a function within Excel that can do this? Thanks





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Pattern Matching

Excellent, I've inputted the formulas and it worked perfectly! Thanks
for the help.




On Sep 21, 4:52 am, David Hilberg wrote:
If you want to use Correl():

=IF(CORREL($C$1:$C$10, $A1:$A10)=$G$1,"Correlation","-")

G1 holds your minimum acceptable correlation coefficient (such as .
9999).
All the data in column A, with sample in C1:C10.
This formula in B1 and copy down. "Match" flags the first data point
of the similar curve.

- David

On Sep 20, 8:26 am, wrote:



I'm doing emission testing on a diesel engine capturing Co, Co2, Nox,
No & HC levels with the trace data being captured to an Excel
spreadsheet. The test's are 20 minutes long with varing speeds and
loads. The data is captured at 1 second intervals for a total of 1200
points. What I would like to do is take a small sample of the trace
data, say a 10 second interval, and see if there are any matching
points in the rest of the trace. I'm not concerned if the overal value
is greater or lower, I am more interested in the curve of the trace
matching,


ie. selected sample trace A = 2,4,6,8,6,4,2,2,4 trace B =
12,14,16,18,16,14,12,12,14
B trace value is greater than A, but the curve of the trace is the
same.


Is there a function within Excel that can do this? Thanks- Hide quoted text -


- Show quoted text -



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 84
Default Pattern Matching

On Sep 24, 8:32 am, wrote:
Excellent, I've inputted the formulas and it worked perfectly! Thanks
for the help.


You're very welcome.

- David


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Matching Text Fields - Then Moving the Matching Cells Side by Side [email protected] Excel Discussion (Misc queries) 2 June 11th 07 02:38 PM
Recurring pattern LaDdIe Excel Worksheet Functions 2 March 9th 07 09:25 PM
Get rid of pattern smackedass Excel Discussion (Misc queries) 1 October 1st 06 12:38 AM
pattern matching possible? vito Excel Worksheet Functions 1 May 16th 06 05:03 PM
Matching data and linking it to the matching cell yvonne a via OfficeKB.com Links and Linking in Excel 0 July 13th 05 07:30 PM


All times are GMT +1. The time now is 12:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"