Jitter
Jitter adds a small amount of gaussian (white) or uniform noise to a vector, matrix or N-D array.
This function is ideal for adding noise to a signal for processing, or generating starting conditions for chaotic functions.
The magnitude of the noise is given as either a fraction of the smallest difference between values of the input array, or as a fraction of the range of values of this input array.
See picture for an example.
This file is based upon the R function 'jitter' by written by Werner Stahel and Martin Maechler, ETH Zurich.
See http://stat.ethz.ch/R-manual/R-patched/library/base/html/jitter.html
for details of the original.
I've added support for imaginary inputs and gaussian noise, which weren't in the original.
引用格式
Richie Cotton (2024). Jitter (https://www.mathworks.com/matlabcentral/fileexchange/10425-jitter), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 | Corrected problems with help; removed call to range so that the stats toolbox is no longer required; given user control over imaginary noise. |