Learn R Programming

gmwm (version 2.0.0)

qn_to_wv: Quantisation Noise to WV

Description

This function compute the WV (haar) of a Quantisation Noise (QN) process

Usage

qn_to_wv(q2, tau)

Arguments

q2
A double corresponding to variance of drift
tau
A vec containing the scales e.g. 2^tau

Value

A vec containing the wavelet variance of the QN.

Examples

Run this code
x.sim = 1:1000
ntau = floor(log(length(x.sim),2))
tau = 2^(1:ntau)
wv.theo = qn_to_wv(1, tau)
plot(tau, wv.theo, col = "red")

Run the code above in your browser using DataLab