count cycles in a signal

32 visualizzazioni (ultimi 30 giorni)
Mohanned Al Gharawi
Mohanned Al Gharawi il 8 Mar 2019
Commentato: Star Strider il 8 Mar 2019
Hello everybody;
I would like to count the number of cycles for a specific signal as shown in the below figure.
Thanks in advance.
frequencies.jpg

Risposta accettata

Star Strider
Star Strider il 8 Mar 2019
Use the findpeaks (link) function. Since this appears to be a modulated sine carrier, you might also find the envelope (link) function helpful to recover the modulating signal, then use findpeaks on it as well.
  2 Commenti
Mohanned Al Gharawi
Mohanned Al Gharawi il 8 Mar 2019
Thanks, it worked.
Star Strider
Star Strider il 8 Mar 2019
As always, my pleasure.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by