Azzera filtri
Azzera filtri

How can i MakeNoise to the dataset dataset

1 visualizzazione (ultimi 30 giorni)
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 ???

Risposta accettata

Wayne King
Wayne King il 15 Set 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 Commenti
Mariem Harmassi
Mariem Harmassi il 15 Set 2012
Modificato: Mariem Harmassi il 19 Ott 2012
ok thank u it s an image.
Mariem Harmassi
Mariem Harmassi il 19 Ott 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

Accedi per commentare.

Più risposte (1)

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

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by