08-19-2021 11:19 AM
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
08-21-2021 05:47 PM - edited 08-21-2021 05:48 PM
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