Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2922

[Wavelet] How to convert scales to frequencies?

From ZiYuan Lin <ziyuang@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject [Wavelet] How to convert scales to frequencies?
Date 2011-06-03 08:37 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <isa6fl$aev$1@smc.vnet.net> (permalink)

Show all headers | View raw


According to the transform

w(u,s)=\frac{1}{\sqrt{s}}\int _{-\infty }^{\infty }x(t) \psi ^*\left(\frac{t-u}{s}\right)dt

, the frequency should be f==CF=89/(2=CF=80)=1/(2=CF=80s) (is it right?), where the discretized s' are calculated from octaves and voices, following

s_{oct,voc}==CE=B12^(oct=E2=88=921)2^(voc/nvoc)

But from one second of 20Hz's humming:

    WaveletScalogram[ContinuousWaveletTransform[Table[Sin[40 Pi x] , {x, 0, 1, 1/2048}], GaborWavelet[], {6, 4}, WaveletScale -> 10]]

one can see that coefficients mainly lie in the 4th octave (in this case =CE=B1=10 and  scale {4,4}=160), which is contrast to f==CF=89/(2=CF=80)=1/(2=CF=80s). I must have got some silly errors. So what is the correct frequency formula? Thank you!

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

[Wavelet] How to convert scales to frequencies? ZiYuan Lin <ziyuang@gmail.com> - 2011-06-03 08:37 +0000

csiph-web