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?
0 件のコメント
採用された回答
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 件のコメント
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 Center および File Exchange で Digital Filter Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!