How to create a noisy signal for wavelet transform practice?

G
Gracesmith9 · Dec 29, 2020 · 1.9K views
Question
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?  
Expert Answer
Profile picture of John Michell
John Michell PhD Expert
Answered Aug 27, 2026
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)

noisy signal

100% Run Guarantee 3-Hour Fast-Track Delivery

Need a Custom Version or Complete Simulation for This Problem?

Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.

Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!