filtering white noise signal
Show older comments
I am working on signal processing, I have a signal "white noise" , How can I filter this signal with band pass signal (f1=80Hz-f2=120Hz), sampling frequency is 500. I tried somme filters but it doesn't work "that is mean I don't know how to code", I have prob with filters.
Answers (2)
anup rulez
on 15 Mar 2017
Just a simple attempt to create a high pass filter. First of all, design a high pass filter:
hpFilter = designfilt('bandpassiir', 'FilterOrder', 10, 'HalfPowerFrequency1', 80, 'HalfPowerFrequency2', 120, 'SampleRate', 500);
Now, your filter is ready (You should play around with 'FilterOrder' attribute and may need to adjust it according to your need). Now generate 10,000 normally distributed samples of white noise:
w1 = randn(1, 10000);
Using this white noise and the filter, generate a filtered signal:
y = filter(hpFilter, abs(w1));
Raghavendra Attuluri
on 1 Sep 2020
0 votes
5.4 Filtered White Noise A white random process X(t) with the power spectrum Sx(f) = 1 for all f excites a linear filter with the impulse response h(t) = {e^-t t>=0 -I otherwise · 1. Determine and plot the power spectrum Sy (f) of the filter output. 2. By using the inverse FFT algorithm on samples of Sy(f), compute and plot the autocorrelation function of the filter output y(t). To be specific, use N = 256 frequency samples
Categories
Find more on Digital Filter Analysis 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!