Message Boards Message Boards


Convert octaves to frequency with continuous wavelet transform?

Posted 1 month ago
1 Reply
0 Total Likes

Hello, everyone. First, let me apologize for my poor English.

I am trying to calculate the mean power frequency of EMG data by continuous wavelet transform in Mathematica. However, as you know, the data after the continuous wavelet transform shows the frequency component as a ”octaves”.

The code I wrote is as follows:

cwt=ContinuousWaveletTransform[EMGsig], MorletWavelet[]]

ListPlot3D[Abs@Reverse[Last /@ cwt[All]], PlotRange -> All, Mesh -> None, ColorFunction -> "SolarColors", Ticks -> {Automatic, Automatic, Automatic}, AxesLabel -> {"time", "octaves", "magnitude"}, Boxed -> False,  PlotLabel -> Style["EMGsig", 20]]

Then I get the result as shown in the image. enter image description here

I want to display the frequency(Hz) instead of the ”octaves” when I display the scalogram or 3Dplot, but I don't know how to convert it.

Please tell me how to convert octaves to frequency.

Welcome to Wolfram Community!
Please make sure you know the rules:
Your post is vague. Please describe your subject extensively providing the details, examples, and code, so it is clear what exactly you are looking for.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract