DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Averaging multiple XY data sets with different lengths

I have 3 sets of XY data, of different length, that I want to average into one curve. The X data is position in degrees (0-80 degrees) and Y data is applied force. The X data has the same overall range but depending on how long the data acquisition took for that particular run will have a different data length.

 

Example:

X1 length 2000

Y1 length 2000

X2 length 2200

Y2 length 2200

X3 length 2400

Y3 length 2400

 

Resultant:

X4 discretized 0-80 in 0.25deg increments

Y4 average of the 3 Y-data sets corresponding to X4 position

 

Thank you

Brian

0 Kudos
Message 1 of 2
(1,060 Views)

Hi Brian,

 

I think you should try this first, since it's the simplest approach.  Use the "Linear Mapping" dialog in ANALYSIS to morph each raw data set into the 0.25 degrees per data point that you want, with the same starting and ending angles for each raw data set.  Then use the "Average Channels" dialog in ANALYSIS to average each of those X-normalized raw data sets into a new composite raw data set.  That assumes that each raw data set gets the same weight-- the number of data points in each raw data set looks pretty similar.

 

Brad Turpin

Principal Technical Support Engineer
NI

0 Kudos
Message 2 of 2
(1,029 Views)