How to downsample a 3-D matrix data?

5 ビュー (過去 30 日間)
Joana
Joana 2021 年 8 月 24 日
コメント済み: Walter Roberson 2022 年 8 月 17 日
Hi
I have a 3-D matrix (A) of order a x b x c. And the data is recorded at 1056Hz sampling frequency. The data is already filtered between 0-5-10Hz, and epoched. I need to downsample my matrix to 65Hz.
Any help on how i can do it.?
BR
  2 件のコメント
Walter Roberson
Walter Roberson 2021 年 8 月 24 日
Which dimension is time? That is, which is the dimension to be reduced?
Joana
Joana 2021 年 8 月 24 日
It's the 'c'. The matrix A has 'features x chanels x samples'. e.g i have the data for 400ms, which is 480 sample, as in the data i have shared. :)
BR

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

採用された回答

Chunru
Chunru 2021 年 8 月 24 日
y = resample(A,65,1056,'Dimension',3);
  3 件のコメント
David Alarcia
David Alarcia 2022 年 8 月 17 日
i have the same problem, fact is the console doesn't seem to understand i'm using that exact function and keeps printing the "too many input arguments" prompt.
I'd like some help. Thx
Walter Roberson
Walter Roberson 2022 年 8 月 17 日

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

その他の回答 (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