How can i MakeNoise to the dataset dataset

1 Ansicht (letzte 30 Tage)
Mariem Harmassi
Mariem Harmassi am 15 Sep. 2012
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 ???

Akzeptierte Antwort

Wayne King
Wayne King am 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 Kommentare
Mariem Harmassi
Mariem Harmassi am 15 Sep. 2012
Bearbeitet: Mariem Harmassi am 19 Okt. 2012
ok thank u it s an image.
Mariem Harmassi
Mariem Harmassi am 19 Okt. 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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

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

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by