How can i MakeNoise to the dataset dataset

1 view (last 30 days)
I found this code in matlab file D_SUB=MakeNoise(D_SUB, Noise) Does the MakeNoise exist ? It is a matlab function if no how can i make noise to a dataset ???

Accepted Answer

Wayne King
Wayne King on 15 Sep 2012
MakeNoise.m is not a MathWorks' function, but there are many ways to add noise to a signal or image using MathWorks' functions. Is it an image that you want to add noise to (a matrix), or a signal (a 1-D vector)? What kind of noise do you want to add?
Look at the help for:
randn
rand
imnoise
awgn
wgn
to get you started
  2 Comments
Mariem Harmassi
Mariem Harmassi on 15 Sep 2012
Edited: Mariem Harmassi on 19 Oct 2012
ok thank u it s an image.
Mariem Harmassi
Mariem Harmassi on 19 Oct 2012
hi ,thank for the answer i found this function available through the net function D = MakeNoise(D, Noise) if Noise~=1 rannum=exp(normrnd(0,log(Noise),size(D,1),size(D,2))); D=D.*rannum; end end and i want to know how can i express the level of noise based on thsi function ? % i need a percent

Sign in to comment.

More Answers (1)

Wayne King
Wayne King on 15 Sep 2012
Do you have the Image Processing Toolbox? If so, see the help for imnoise

Products

Community Treasure Hunt

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

Start Hunting!