![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/317703/image.png)
Low pass filter design
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi, i designed a low pass filter but it is not working to 0.05 sec. After this point filter work normally. How to i can fix it thank you.
Fs=10000;
Ts=1/Fs;
signalLength=1000;
t=(0:signalLength-1)*Ts;
filtLP= designfilt('lowpassfir','FilterOrder',50,'CutoffFrequency',250,...
'SampleRate',Fs);
outputAfterFilterLPFourier = fft(outputAfterFilterLP,NFFT)/signalLength;
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/317433/image.png)
댓글 수: 0
채택된 답변
Robert U
2020년 6월 17일
Hi Toygar Ozel,
have a look at the step response of your filter, e.g. using filter designer. You can determine easily that the group delay of your filter is around 0.05 s. You would have to use another filter design in order to reduce the group delay.
Kind regards,
Robert![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/317703/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/317703/image.png)
댓글 수: 2
Robert U
2020년 6월 17일
All filters have delays. The question is rather how much delay is still ok for the application, and how phase should look like in order to not distort the signal too much. Finding a working filter within these requirements is part of the filter design work.
Kind regards,
Robert
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Digital Filter Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!