How to choose Threshold when Add AWGN to signal

1 回表示 (過去 30 日間)
irfan
irfan 2016 年 8 月 17 日
コメント済み: irfan 2016 年 8 月 18 日
Hello, sir, I am adding AWGN noise to my Random signal but when I add it I also need to change my threshold value for the signal so I am facing problem in the threshold that how to choose the threshold for a signal when to add AWGN noise any other method if you know can you suggest for me .

採用された回答

Image Analyst
Image Analyst 2016 年 8 月 17 日
You can add Gaussian noise like this
noisyVec = vec + amplitude * randn(size(vec));
where vec is your other random signal.
I have no idea what you're talking about regarding a threshold. You say you need to "change my threshold value for the signal" -- well, what is the existing threshold value and how did you get it originally? Is it in a variable? WHY do you need to change it? Changing it is not necessary as far as I can see to add random numbers to a vector.
  3 件のコメント
Image Analyst
Image Analyst 2016 年 8 月 17 日
OK, fine. So you have this
thresholdValue = 42; % Or whatever.
noisyVec = vec + amplitude * randn(size(vec));
% Now what??????? How to use thresholdValue???
but we're still not clear how the "thresholdValue" variable would be involved in adding noise to your vector. You're going to have to supply more information.
irfan
irfan 2016 年 8 月 18 日
my signal is in sparse so I am selecting the threshold that if there is signal less than the threshold so it gives me to signal recovery

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDetection, Range and Doppler Estimation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by