フィルターのクリア

Superimposing x% RMS noise to a signal

2 ビュー (過去 30 日間)
상훈 송
상훈 송 2022 年 12 月 22 日
回答済み: Mathieu NOE 2022 年 12 月 23 日
Hello, I hava a question about superimposing certain percent of RMS noises to a signal (for example 2% RMS noises).
First of all, I not sure about the percent. Is percent refers that my signal and the superimposed noise has a 2% RMS value?
Second, implementing it at MATLAB.. my signal has a size of 10001 x 3.
Best regard

回答 (1 件)

Mathieu NOE
Mathieu NOE 2022 年 12 月 23 日
hello
hello
the logic would be to add x % of rms noise to the rms amplitude of your clean signal
so compute the rms value of each column of your signal , multiply by x/100 *randn(10001 ,1) (and repeat for the others columns)
NB : randn generates a rms = 1 noise (it get's closer to 1 as the number of samples increases)
x = randn(10001,1);
x_rms = sqrt(mean(x.^2))
x_rms = 1.0067

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by