```matlab
```
```matlab
```
```matlab
f = 1; % 频率
pink_noise = (1/n) cumsum(randn(n, 1) / f);
```
```matlab
red_noise = cumsum(randn(n, 1));
```
```matlab
f = 1; % 频率
blue_noise = (1/n) cumsum(randn(n, 1) / f.2);
```
```matlab
```
```matlab
```
```matlab
f = 1; % 频率
pink_noise = (1/n) cumsum(randn(n, 1) / f);
```
```matlab
red_noise = cumsum(randn(n, 1));
```
```matlab
f = 1; % 频率
blue_noise = (1/n) cumsum(randn(n, 1) / f.2);
```