How i can smooth a sinusoidal signal using it's local maximum I have a signal that it is like a Sinusoidal signal with many local maximum, I want to smooth this signal with almost connecting it's local maximum to each other.
You could use the Hilbert transform to calculate the signal envelope. It is discussed in this question.