필터 지우기
필터 지우기

What is the difference between designfilt and fdesign

조회 수: 6 (최근 30일)
Micke Malmström
Micke Malmström 2017년 10월 19일
편집: Micke Malmström 2017년 10월 20일
Im trying to do zero phase filter my obj.CurrentData with this:
% FilterType='butter';
% FilterParam='N,F3dB1,F3dB2';
% BPFOrder=2;
d = fdesign.bandpass(obj.BPFilterParam,obj.BPFOrder,obj.BPFLimits(1),obj.BPFLimits(2),obj.Fs);
Hd = design(d,obj.BPFilterType);
obj.CurrentData=filtfilt(Hd,obj.CurrentData')';
But I only get: Error using filtfilt (line 78) Not enough input arguments.
It wants 3 inputs... although the help text says "y = filtfilt(d,x)" should work?

답변 (1개)

Honglei Chen
Honglei Chen 2017년 10월 19일
Could you share which release you are using? You can find the info by runnig ver at the command prompt.
HTH
  댓글 수: 1
Micke Malmström
Micke Malmström 2017년 10월 20일
편집: Micke Malmström 2017년 10월 20일
MATLAB Version: 9.2.0.556344 (R2017a)

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

카테고리

Help CenterFile Exchange에서 Filter Analysis에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by