Description Usage Arguments Examples
Function to generate different kinds of random noise.
1 2 3 |
t |
Numeric vector where to evaluate noise. |
type |
Numeric value (1,...,8). |
mu |
Numeric value. |
theta |
Numeric value. |
kappa |
Numeric value. |
sigma |
Numeric value. |
sigma2 |
Numeric value. Smaller SE for contaminated noise. |
seed |
If certain seed wanted. |
tfun |
For generating noise with dynamically changing parameters. |
1 2 3 4 5 | t = generate.t(m = 50)
w = generate.noise(t); plot(t, w , type="h", main = "Gaussian noise")
w = generate.noise(t, type = 2); plot(t, w , type="h", main = "Laplace noise")
w = generate.noise(t, type = 3); plot(t, w , type="h", main = "Contaminated noise")
w = generate.noise(t, type = 4); plot(t, w , type="h", main = "Uniform noise")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.