Filter löschen
Filter löschen

LPF a random signal

1 Ansicht (letzte 30 Tage)
zozo
zozo am 18 Jan. 2012
I have a random signal and its psd:
x=randn(1000,1);
Fs=4000;
pd = psd(spectrum.periodogram,u,'Fs',Fs);
plot(pd)
I want to remove the high frequency components(LPF or smooth), so that 'x' is close to practical/measured noise. Does this help?
y=filter(b,a,x);
What should be the coefficients 'b' and 'a' for my applciation? Please help

Akzeptierte Antwort

Honglei Chen
Honglei Chen am 18 Jan. 2012
You need to first determine what are the frequencies you want to keep and what are the frequencies you want to filter out. You can then use tools to help you design the filter.
Any DSP book will talk about the theory. For tools, take a look at the following documentation
doc fdatool
doc fdesign
Here is an example
x = rand(1024,1);
hd = design(fdesign.lowpass);
y = filter(hd,x);
  1 Kommentar
zozo
zozo am 18 Jan. 2012
thank you Sir.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Measurements and Feature Extraction finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by