Convert the cell array to a 4-dimensional array with auditory spectrograms along the fourth dimension.
4 ビュー (過去 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.
0 件のコメント
回答 (1 件)
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
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!