Moving Average filter window size automatically up-scaled by 1
이전 댓글 표시
I implemented a moving average filter using the 'FilterDesigner' with the following features (image attached)

I Specified the window size to be 15. (also created other instances of this filter with window sizes 5,10 and 13)
The group delay for MA is calculated by the formula (N-1)/2 but my group delay curve is plotting N/2 instead. (image attached)
where 'N' is the window size.

Does Matlab automatically upscales the window length by +1? i.e
[(15+1)-1] / 2 = 7.5 instead of 15-1/2 = 7
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Digital Filter Design에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!