How to downsample a 3-D matrix data?

17 vues (au cours des 30 derniers jours)
Joana
Joana le 24 Août 2021
Commenté : Walter Roberson le 17 Août 2022
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 commentaires
Joana
Joana le 24 Août 2021
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

Connectez-vous pour commenter.

Réponse acceptée

Chunru
Chunru le 24 Août 2021
y = resample(A,65,1056,'Dimension',3);
  3 commentaires
Walter Roberson
Walter Roberson le 17 Août 2022

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by