Adding high frequency noise..
Show older comments
Answers (2)
Image Analyst
on 28 Apr 2014
1 vote
Hint: one way to do it is to take the fft of your signal and add random numbers ONLY to frequencies higher than whatever you consider "high" to be. And there will be no noise at lower frequencies. Then, after you've added noise, inverse Fourier transform to get back to the "x" (spatial) domain.
5 Comments
Prajan Pradhan
on 28 Apr 2015
With your explanation there are imaginary terms while doing ifft. When used absolute value i.e. abs(fft_data), there is error in the audio which is not filtered.
Sowmya Dasari
on 9 Oct 2017
can u please answer the doubt asked by prajan pradhan i too got a similar error ?
Image Analyst
on 9 Oct 2017
Post your code and audio file so I can try to fix it.
Daniel Russell
on 15 Dec 2021
Great idea, that worked perfectly (doing image processing demo). Thanks.
Jan
on 28 Apr 2014
0 votes
Yes. You can create any kind of noise in Matlab and add it to your signal.
For a more detailed help, please explain the details of your problem.
3 Comments
Marben
on 28 Apr 2014
Jan
on 3 May 2014
@Marben: Please provide any information. Do you need a general "high" frequency, than use simply rand(). If you have a defined frequency spectrum, explain it with all required details.
Prajan Pradhan
on 28 Apr 2015
If I need to insert noise of frequency over 20 kHz to an audio signal. How can I do that?
Categories
Find more on Signal Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!