$ 0 0 Can anyone help me how to remove the drift (long duration) from the cyclic data as below? If you have a function for this one, it will be greatly appreciated. Regards