Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #2922 > unrolled thread
| Started by | ZiYuan Lin <ziyuang@gmail.com> |
|---|---|
| First post | 2011-06-03 08:37 +0000 |
| Last post | 2011-06-03 08:37 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
[Wavelet] How to convert scales to frequencies? ZiYuan Lin <ziyuang@gmail.com> - 2011-06-03 08:37 +0000
| From | ZiYuan Lin <ziyuang@gmail.com> |
|---|---|
| Date | 2011-06-03 08:37 +0000 |
| Subject | [Wavelet] How to convert scales to frequencies? |
| Message-ID | <isa6fl$aev$1@smc.vnet.net> |
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 top | Article view | comp.soft-sys.math.mathematica
csiph-web