Random Band-Limited White Noise Excitation
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Yijing LU
am 4 Jul. 2022
Kommentiert: Yijing LU
am 5 Jul. 2022
Hi, i read a paper today. In matlab, how to generate a random excitation force consisted of a zero-mean signal with frequency content ranging from 0.2Hz to 1.2Hz. And after generate this random sequence ,how to scale the signal to RMS levels (i.e. RMS=165).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1054440/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1054445/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1054450/image.jpeg)
0 Kommentare
Akzeptierte Antwort
Chunru
am 5 Jul. 2022
Bearbeitet: Chunru
am 5 Jul. 2022
% Band-limited noise can be generated by passing a white Gaussian noise
% through a band pass filter
fs = 5;
ns = round(700*fs); % 700 sec
x = bandpass(randn(ns, 1), [0.2 1.2], fs);
% normalise
x = x / rms(x) * 165;
subplot(211); plot((0:ns-1)/fs, x); xlim([600 660]);
subplot(212); pwelch(x, 1024, 512, 1024, fs);
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!