Wavelet Transform Calculation (DWT/CWT)
sv = fao:wt(wa, [dao], [wi])
Calculate a wavelet style multiply-and-sum with a single run of the wave array.
The optional wi
parameter allows stretching or compressing of a single wavelet array object across the data values of fao
.
Parameter | Type | Description |
---|---|---|
wa |
object | Float Array Object containing the wavelet |
dao |
integer | Offset from the end of fao . Default = #fao/2 |
wi |
number | Wavelet increment (default = 1.0) |
Returns | Type | Description |
---|---|---|
sv |
number | Sum of all values |
The wa
wave array should contain values for a wavelet (e.g. Mexican hat, Haar, Daubechies, etc), and as such should sum to zero.