I am using MATLAB R2020a on a MacOS. I have a signal \'cycle_periods\' consisting of the cycle periods of an ECG signal on which I would like to perform an exponentially wei