Should I use 1-D digital filtering or lowpass filter ?

조회 수: 2 (최근 30일)
farzad
farzad 2020년 4월 6일
댓글: Star Strider 2020년 4월 7일
Hi All
which of the two is better for random signals ( i have 6 signals in 6 degrees of freedom : should I filter them together with the same values of filter ?)
and what does this mean :
lowpass uses a minimum-order filter with a stopband attenuation of 60 dB
It's also not clear how should I calculate wpass for a given random signal !!
with normalized passband frequency wpass in units of π rad/sample
what should I read from my signal to calculate the wpass?

채택된 답변

Star Strider
Star Strider 2020년 4월 6일
편집: Star Strider 2020년 4월 6일
Yes. Also be certain that the signals have uniform sampling intervals. If they do not, use the resample function to force them to be regularly-sampled.
The lowpass function uses the shortest (i.e. most efficient) filter that will give the appropriate results, and the stopband is 60 dB lower than the passband, or 1/1000 the passband amplitude.
EDIT — (6 Apr 2020 at 20:49)
The ‘wpass’ argument is the passband frequency in units of radians/sample, with π being defined as equivalent to the Nyquist frequency (one-half the sampling frequency).
If you use the ‘fs’ argument as well, you can instead designate ‘fpass’ in the same frequency units as ‘fs’ (for example, Hz). The normalisation will be done automatically.
  댓글 수: 4
farzad
farzad 2020년 4월 6일
thank you very much, in this case of 1024 Hz, what will be wpass ? how do I calculate it ?
Star Strider
Star Strider 2020년 4월 7일
As always, my pleasure!
Please see my previous Comment. I provided code for exactly that for a sampling frequency of 1024 Hz and a passband of 0 to 256 Hz.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Smoothing and Denoising에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by