フィルターのクリア

Downsampling of RPM traces

2 ビュー (過去 30 日間)
MAT-Magic
MAT-Magic 2020 年 1 月 10 日
編集済み: MAT-Magic 2020 年 1 月 22 日
Hi,
I have RPM trace signal (respiratory data) sampled at 26 Hz. I want to downsample RPM trace signal to 5.2 Hz. Does anyone know how to downsample this trace signal to 5.2 Hz?
Thanks in advance.

採用された回答

Star Strider
Star Strider 2020 年 1 月 10 日
I assume that the signal is sampled regularly, and a fixed sampling interval.
Use the Signal Processing Toolbox resample function. It will do exactly what you want.
A prototype call to it would be:
RPMrs = resample(RPM, 52, 260);
so the output will be sampled at 5.2/26 of the original rate.
To calculate a new time vector for it, use the linspace function.
Note that if it is not uniformly sampled, first follow the procedure in Resample a Nonuniformly Sampled Data Set, then do the rate resampling.
  15 件のコメント
MAT-Magic
MAT-Magic 2020 年 1 月 22 日
Thank you so much Sir !!!
Star Strider
Star Strider 2020 年 1 月 22 日
As always, my pleasure!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultirate Signal Processing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by