フィルターのクリア

Random Band-Limited White Noise Excitation

7 ビュー (過去 30 日間)
Yijing LU
Yijing LU 2022 年 7 月 4 日
コメント済み: Yijing LU 2022 年 7 月 5 日
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).

採用された回答

Chunru
Chunru 2022 年 7 月 5 日
編集済み: Chunru 2022 年 7 月 5 日
% 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);
  1 件のコメント
Yijing LU
Yijing LU 2022 年 7 月 5 日
Thanks a lot! Your answer is very useful to me.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCorrelation and Convolution についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by