Borrar filtros
Borrar filtros

Convert matrix from 3d to 4d?

4 visualizaciones (últimos 30 días)
M
M el 29 de Nov. de 2023
Respondida: Stephen23 el 29 de Nov. de 2023
How to convert a matrix from size 120*120*20000 to 120*120*1*20000? so I can use this data in CNN because I cant use it in the current form

Respuesta aceptada

Stephen23
Stephen23 el 29 de Nov. de 2023
Where M is your array:
N = permute(M,[1,2,4,3])

Más respuestas (0)

Categorías

Más información sobre Data Type Conversion en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by