We do not have any specific examples on how to go about creating pink noise in MATLAB or Simulink. However, you can use the 'rand' or 'randn' function to generate white noise and then filter it. Similarly in Simulink, you can use the band-limited white noise block. Although the design of the filter is specific to your application, we recommend designing a band-limited filter with magnitude of 1/sqrt(f). The easiest way to do this is to use the 'invfreqz' function which is available in the Signal Processing Toolbox. After filtering, you can obtain the magnitude of pink noise, 1/f, (note that phase does not contribute).
Partager