White Noise generator same signal every time I run the simulation

4 ビュー (過去 30 日間)
MUSTAFA ALSENAIDI
MUSTAFA ALSENAIDI 2022 年 7 月 1 日
コメント済み: MUSTAFA ALSENAIDI 2022 年 7 月 5 日
Hi I am trying to add the White Noise to my sensor using the band limited white noise Block in simulink expecting to get a different noise to my signal but I am getting the same noise signal every time I run the simulation. the noise should be totally random every time I run it to simulate the noise we getting from the sensor.
anyone knows how to get this random noise every time?
tHANKS

回答 (1 件)

KALYAN ACHARJYA
KALYAN ACHARJYA 2022 年 7 月 1 日
編集済み: KALYAN ACHARJYA 2022 年 7 月 1 日
Jurt use the rand function & add to the original signal data
signalData=
noiseData=rand(1,length(signalData));
signalNoise=signalData+noiseData;
However, if you are using real-time sensor data as noisy data, the case may be different.
  1 件のコメント
MUSTAFA ALSENAIDI
MUSTAFA ALSENAIDI 2022 年 7 月 5 日
I am using a pulse oximeter as my sensor and I believe it is a real-time sensor data.

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

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by