Example for fir1 with a Kaiser window does not work.
이전 댓글 표시
Dear all,
I just found that the examples for the function fir1 by using Kaiser window is not working properly.
here is example, it was taken from doc kaiserord, error appears during calling function fir1 :
[n,Wn,beta,ftype] = kaiserord([1500 2000],[1 0],... [0.01 0.1],8000); b = fir1(n,Wn,ftype,kaiser(n+1,beta),'noscale');
here is a mistake :
Error using * Inner matrix dimensions must agree.
Error in firls (line 80) cos_ints = [omega; sin((1:N)' * omega)];
Error in fir1 (line 95) hh = firls(L-1,ff,aa);
Error in temp (line 2) b = fir1(n,Wn,ftype,kaiser(n+1,beta),'noscale');
Hope for the reply.
With the best regards, Burnos Sergey.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Kaiser에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!