dsp.ColoredNoise pinknoise's max and min is not 1 even bounded output is true?
3 次查看(过去 30 天)
显示 更早的评论
app.fileReader = dsp.ColoredNoise('pink',2048,1,OutputDataType='double', BoundedOutput=true)
Why does the ColoredNoise function work when using for white noise but not for pink?
0 个评论
回答(1 个)
praguna manvi
2024-10-11
As I understand it, you are expecting the values +1 and -1 as the minimum and maximum, respectively, for the "pink" "NoiseColor" parameter in the "ColoredNoise" function. The documentation mentions that, except for the "white" color, a color filter is applied to ensure that the generated noise never exceeds or equals +1 or -1. Specifically, for the "pink" value, the output distribution of the filtered noise is quasi-Gaussian, which is always bounded within (+1, -1). More information about "BoundedOutput" and other "ColoredNoise" parameters can be found at the following link:
Hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with DSP System Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!