How to create a noisy signal for wavelet transform practice?

1 回表示 (過去 30 日間)
Sachin Motwani
Sachin Motwani 2020 年 8 月 26 日
コメント済み: Sachin Motwani 2020 年 8 月 26 日
I was trying the Wavelet toolbox; wherein they have the file 'noisysig.mat'. It contains three variables s1, s2 and x.
I understand that these contain the normal and the noisy signal but I wish to know how to create such noisy signals so that I can practice denoising with some other signals. How do I do that?

採用された回答

Rafael Hernandez-Walls
Rafael Hernandez-Walls 2020 年 8 月 26 日
maybe this code will help you
N=1000;
x=linspace(0,2*pi,N);
y=sin(x);
y2=randn(1,N);
y3=y+y2*.1;
subplot(2,1,1);plot(x,y)
subplot(2,1,2);plot(x,y3)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDiscrete Multiresolution Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by