필터 지우기
필터 지우기

how to filter a signal using firlpnorm???

조회 수: 2 (최근 30일)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2013년 11월 30일
댓글: Sivakumaran Chandrasekaran 2013년 11월 30일
'y' is the input white noise and 'g' is the sine wave... h=y+g... how to filter 'h' using firlpnorm??

채택된 답변

Wayne King
Wayne King 2013년 11월 30일
편집: Wayne King 2013년 11월 30일
Have you read the documentation for firlpnorm()? firlpnorm() seems like a sophisticated filter design for just a sine wave in additive noise, but here is an example.
Fs = 1000;
t = 0:1/Fs:1;
% 50-Hz sine wave in noise
x = cos(2*pi*50*t)+randn(size(t));
% lowpass filter
B = firlpnorm(22,[0 .15 .4 .5 1],[0 .4 .5 1],[1 1 0 0 0]);
% Filter magnitude response
fvtool(B,1)
% Filter the data
y = filter(B,1,x);
  댓글 수: 1
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2013년 11월 30일
Thanks wayne... Now i got clear about my doubt.. is there any way to convert this to vlsi code?

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Analog Filters에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by