Effacer les filtres
Effacer les filtres

How can i MakeNoise to the dataset dataset

3 vues (au cours des 30 derniers jours)
Mariem Harmassi
Mariem Harmassi le 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 ???

Réponse acceptée

Wayne King
Wayne King le 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 commentaires
Mariem Harmassi
Mariem Harmassi le 15 Sep 2012
Modifié(e) : Mariem Harmassi le 19 Oct 2012
ok thank u it s an image.
Mariem Harmassi
Mariem Harmassi le 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

Connectez-vous pour commenter.

Plus de réponses (1)

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

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by