Clear Filters
Clear Filters

count cycles in a signal

20 views (last 30 days)
Mohanned Al Gharawi
Mohanned Al Gharawi on 8 Mar 2019
Commented: Star Strider on 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

Accepted Answer

Star Strider
Star Strider on 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 Comments
Mohanned Al Gharawi
Mohanned Al Gharawi on 8 Mar 2019
Thanks, it worked.
Star Strider
Star Strider on 8 Mar 2019
As always, my pleasure.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!