Need Help with apply lowpass filter with window method lowpass design
이전 댓글 표시


Hello, I'm trying to filter out the noise of my csv file data using lowpass at cut of freq of 5 hz but it give me this error. Any suggestion?
Thank you in advance
댓글 수: 5
Jakob B. Nielsen
2021년 2월 11일
Look at the documentation for the filter function. The error says "not enough input arguments", because filter requires 3 input arguments, filter(b,a,x).
Mathieu NOE
2021년 2월 11일
you need to split the tf into its numerator and denominator to use filter
nam bui
2021년 2월 12일
Mathieu NOE
2021년 2월 23일
hello
filter requires 3 input arguments, filter(b,a,x).
you cannot give a tf object as input argument of filter
your filter must be given as a numerator (b) and a denominator (a)
filter One-dimensional digital filter.
Y = filter(B,A,X) filters the data in vector X with the
filter described by vectors A and B to create the filtered
data Y. The filter is a "Direct Form II Transposed"
implementation of the standard difference equation:
a(1)*y(n) = b(1)*x(n) + b(2)*x(n-1) + ... + b(nb+1)*x(n-nb)
- a(2)*y(n-1) - ... - a(na+1)*y(n-na)
If a(1) is not equal to 1, filter normalizes the filter
coefficients by a(1).
nam bui
2021년 2월 23일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Digital Filter Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!