1
As 'addnoise' simply adds noise to the input vector, it can be easily replaced with GNU Octave functions.
3
So to replace the following command in Octave:
4
$ addnoise data.dat -v0.02 -u -o "data_noise.dat"
7
data = data + r * rand (size (data))
10
To replace the following command in Octave:
11
$ addnoise data.dat -r0.5 -o "data_noise.dat"
13
g = (-6 + sum (rand ([size(data), 12]), 3));