Adding high frequency noise..

How can we add a high frequency noise to a sinusodial signal in matlab.Is there any process to generate a high frequency noise in matlab.

2 Comments

What is the amplitude of the noise? do you need any special noise properties such as: guassian noise?
sir i have seen in many coding that only gaussian noise and imnoise is used to add noise.i have never seen any other noise to add with a signal in matlab code. So how can we add another noise(high or low frequency) to a signal? sir you can take amplitude randomly....Please help

Sign in to comment.

Answers (2)

Image Analyst
Image Analyst on 28 Apr 2014
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

Marben
Marben on 30 Apr 2014
Edited: Marben on 30 Apr 2014
sir, will you explain with a code....still i am confusing in high frequency...
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.
can u please answer the doubt asked by prajan pradhan i too got a similar error ?
Post your code and audio file so I can try to fix it.
Great idea, that worked perfectly (doing image processing demo). Thanks.

Sign in to comment.

Jan
Jan on 28 Apr 2014
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

for eg. i have a sinusodial signal x = -pi:.1:pi; y = sin(x) Now i have to add high frequency noise with y. How can we add?I am unable to generate high frquency noise?
@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.
If I need to insert noise of frequency over 20 kHz to an audio signal. How can I do that?

Sign in to comment.

Categories

Find more on Signal Processing Toolbox in Help Center and File Exchange

Tags

No tags entered yet.

Asked:

on 28 Apr 2014

Commented:

on 15 Dec 2021

Community Treasure Hunt

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

Start Hunting!