How to downsample a 3-D matrix data?

조회 수: 15(최근 30일)
Joana
Joana 2021년 8월 24일
댓글: Walter Roberson 2021년 8월 25일
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
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);
  댓글 수: 1
Walter Roberson
Walter Roberson 2021년 8월 25일
Looks good to me.

댓글을 달려면 로그인하십시오.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by