How can i MakeNoise to the dataset dataset

조회 수: 7 (최근 30일)
Mariem Harmassi
Mariem Harmassi 2012년 9월 15일
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 ???

채택된 답변

Wayne King
Wayne King 2012년 9월 15일
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
Mariem Harmassi
Mariem Harmassi 2012년 9월 15일
편집: Mariem Harmassi 2012년 10월 19일
ok thank u it s an image.
Mariem Harmassi
Mariem Harmassi 2012년 10월 19일
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

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Wayne King
Wayne King 2012년 9월 15일
Do you have the Image Processing Toolbox? If so, see the help for imnoise

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by