필터 지우기
필터 지우기

Convert the cell array to a 4-dimensional array with auditory spectrograms along the fourth dimension.

조회 수: 1 (최근 30일)
I want to convert the cell array to a 4-dimensinal array.
XTrain = cat(4,XTrain{:});
The dimension of the array you want to combine does not match.

답변 (1개)

Prateek
Prateek 2023년 1월 4일
편집: Prateek 2023년 1월 4일
Hello 혜성 ,
The function 'cat' requires the arrays to be concatenated to have the same size along the dimension of concatenation. Is the requirement being met here? It is difficult for me to say since the code and data posted by you is limited.
For better assistance, I request you to post the complete code along with the data.
Regards,
Prateek

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by