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.

  • 3
    $\begingroup$ Hi Omid, I think you could get more useful answers to your question if you formulated your goals a bit more clearly. What do you mean by 'almost connecting it's local maximum'? The easiest way would simply be to connect the local maxima by straight lines, but this is probably not what you want. So what is it exactly that you want? $\endgroup$
    – Matt L.
    Apr 27 '13 at 11:13
  • 1
    $\begingroup$ As Matt says, it's hard to divine exactly what you're after. Some pictures of your data and what you want from it might help. As WebMonster answers, one interpretation of what you're asking is for an "envelope detector". $\endgroup$
    – Peter K.
    Apr 27 '13 at 16:28
  • $\begingroup$ Hi my friends, Thank you for your help, I wanted to load an image but i couldn't. As WebMonster said to me, I wanted an envelop for my signal and with his guide i could find a solution for my problem. Thank you again $\endgroup$
    – Omid
    Apr 28 '13 at 11:33

You could use the Hilbert transform to calculate the signal envelope. It is discussed in this question.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.