Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 3
    $\begingroup$ "Periodogram" gives you the power spectrum. And "Spectrogram" gives you a time-frequency plot. $\endgroup$ Commented Feb 17 at 18:12
  • $\begingroup$ Hi Daniel, Thank you for your answer. I tried with periodogram but I get negative values for yy. $\endgroup$ Commented Feb 17 at 21:11
  • 1
    $\begingroup$ Yes, these are Decibels. If you want a linear scale you need to specify the option "ScalingFunctions". $\endgroup$ Commented Feb 17 at 21:24