Arbitrary Spectral Slope Noise Generation with Matlab
Version 1.5.0.0 (3.14 KB) by
Hristo Zhivomirov
Arbitrary spectral slope ( f^a) noise generation via spectral processing of white noise.
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 .
MATLAB Release Compatibility
Created with
R2017b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox > Measurements and Feature Extraction >
- Engineering > Mechanical Engineering > Acoustics, Noise and Vibration >
Find more on Measurements and Feature Extraction in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 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 |
