If you have the DSP System Toolbox, you can use the included block Mean to calculate a running mean of your signal, then reset it every 1.72 seconds according to your design.
If you do not, you could recreate the running mean with a pair of discrete time integrator blocks.