필터 지우기
필터 지우기

LPF a random signal

조회 수: 1 (최근 30일)
zozo
zozo 2012년 1월 18일
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

채택된 답변

Honglei Chen
Honglei Chen 2012년 1월 18일
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
zozo
zozo 2012년 1월 18일
thank you Sir.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Measurements and Feature Extraction에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by