how to generate impulse noise for audio or any signal processing
8 views (last 30 days)
Show older comments
krishna mohan venkata puvvadi
on 2 Mar 2019
Edited: Image Analyst
on 15 Nov 2019
hi everyone,
I want to generate impulse noise signal for audio or any signal processing applications, specially for signals, in matlab what are the functions available to generate noise signals are for image processing, please help me in this issue.
thanking you,
krishna mohan p v
Accepted Answer
krishna mohan venkata puvvadi
on 3 Mar 2019
1 Comment
Image Analyst
on 3 Mar 2019
To thank people you can vote for and/or accept their answers.
But why is this answer the Answer that got accepted and earned the reputation points?
It's not even an answer to the original post?
More Answers (1)
Image Analyst
on 2 Mar 2019
Use randperm() to get indexes for the noise. Then set the values to whatever you want. For example (untested)
numNoiseElements = 100;
noiseIndexes = randperm(length(yourSignal), numNoiseElements);
yourSignal(noiseIndexes) = someBigValue;
If you run into any problems, attach your code, and signal, if it came from a file.
0 Comments
See Also
Categories
Find more on Code Generation and Deployment in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!