DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Time-Bound Moving Average

Hello,

    I have two channels, a time channel with varying step values and a time-dependant output channel. Is there a way to calculate a moving average across a set timespan? I have looked into the Smooth function, but it appears to only accept number of points as the set width. 

 

Thanks,

Colin

0 Kudos
Message 1 of 2
(4,804 Views)

Hi Colin,

 

If you have plenty of time resolution in your data, you can simply use the "Reducing Classification" ANLYSIS routine in the "Statistics" palette.  

 

If you don't have as many data points as you need, 'd recommend a two stage process-- 1) resample the data channel to a faster/constant sampling rate, then 2) smooth over a certain number of points that comprises your desired time window.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

 

0 Kudos
Message 2 of 2
(4,780 Views)