filtering white noise signal
14 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(2 个)
anup rulez
2017-3-15
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));
0 个评论
Raghavendra Attuluri
2020-9-1
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Digital Filtering 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!