Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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.

Respuestas (1)

Prateek
Prateek el 4 de En. de 2023
Editada: Prateek el 4 de En. de 2023
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

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by