s-news
[Top] [All Lists]

dwt() in S+wavelets

To: s-news@wubios.wustl.edu
Subject: dwt() in S+wavelets
From: impromptu@nifty.com
Date: Thu, 22 May 2003 09:50:34 +0900
S-Plus users
E-mail: s-news@wubios.wustl.edu

   Hi!
   I have a question on dwt() in S+wavelets.

   The command "wave.filter("s4", high.pass = F)" shows that
the lowpass filter for "s4" father wavelet is:

       [,1]      [,2]      [,3]       [,4]      [,5]
[1,] 0.4829629 0.8365163 0.2241439 -0.1294095 0.0000000 
[2,] 0.0000000 0.0000000 0.4829629  0.8365163 0.2241439 
[3,] 0.0000000 0.0000000 0.0000000  0.0000000 0.4829629 
[4,] 0.0000000 0.0000000 0.0000000  0.0000000 0.0000000 
[5,] 0.0000000 0.0000000 0.0000000  0.0000000 0.0000000 
[6,] 0.0000000 0.0000000 0.0000000  0.0000000 0.0000000 

However, the lowpass filter used by 
"dwt(yy, wavelet = "d4", n.levels = 3., boundary= "zero")"
looks like:

          [,1]      [,2]      [,3]      [,4]      [,5] 
 [1,] 0.8365163 0.2241439 -0.1294095 0.0000000  0.0000000 
 [2,] 0.0000000 0.4829629  0.8365163 0.2241439 -0.1294095 
 [3,] 0.0000000 0.0000000  0.0000000 0.4829629  0.8365163 
 [4,] 0.0000000 0.0000000  0.0000000 0.0000000  0.0000000 
 [5,] 0.0000000 0.0000000  0.0000000 0.0000000  0.0000000 
 [6,] 0.0000000 0.0000000  0.0000000 0.0000000  0.0000000 

   Is my guess correct? Or is this my misunderstanding about DWT?

   *****    Kunio Takezawa, Ph.D. (takezawa@affrc.go.jp)    *****
*****     <http://cse.naro.affrc.go.jp/takezawa/patent-c.html>    *****


<Prev in Thread] Current Thread [Next in Thread>
  • dwt() in S+wavelets, impromptu <=