Use of task-oriented dynamic resampling in reduction of signal non-stationarity