smoothdt.m¶
Basic Information¶
SYNTAX: dsmo = smoothdt(data,time,dtbox)
dsmo = smoothdt(ts,dtbox)
PURPOSE: Boxcar-average data within time intervals dtbox
If data is a matrix, size(data,1) should equal length(time)
INPUT: data = vector or matrix with data to smooth
time = time vector, or just the time between samples
dtbox = width of time window for smoothing
ts = timeseries object
OUTPUT: dsmo = data after boxcar smoothing