You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
The present code is a Matlab function that provides a generation of noise signal with arbitrary power spectral density (PSD) slope f^a. For instance:
1) White noise: a = 0;
2) Pink noise: a = −1;
3) Red noise: a = −2;
4) Blue noise: a = +1;
5) Violet noise: a = +2.
Two examples are given in order to clarify the usage of the function. For convenience, the input and output arguments are given in the beginning of the function. The generated noise signal has unity standard deviation and zero mean value.
The code is based on the theory described in:
[1] H. Zhivomirov. A Method for Colored Noise Generation. Romanian Journal of Acoustics and Vibration, ISSN: 1584-7284, Vol. XV, No. 1, pp. 14-19, 2018. (http://rjav.sra.ro/index.php/rjav/article/view/40/29)
Cite As
H. Zhivomirov. A Method for Colored Noise Generation. Romanian Journal of Acoustics and Vibration, ISSN: 1584-7284, Vol. XV, No. 1, pp. 14-19, 2018. (http://rjav.sra.ro/index.php/rjav/article/view/40/29)
Hristo Zhivomirov (2026). Arbitrary Spectral Slope Noise Generation with Matlab (https://uk.mathworks.com/matlabcentral/fileexchange/48628-arbitrary-spectral-slope-noise-generation-with-matlab), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.5.0.0 (3.14 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.5.0.0 | A new version of the code has been uploaded. |
||
| 1.4.0.0 | A new code description has been uploaded. |
||
| 1.3.0.0 | A new version of the code has been uploaded. |
||
| 1.2.0.0 | A new reference literature has been added. |
||
| 1.1.0.0 | A new version of the code has been uploaded. |
||
| 1.0.0.0 |
