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

1 次查看(过去 30 天)
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 个)

Community Treasure Hunt

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

Start Hunting!

Translated by