Convert matrix from 3d to 4d?

3 次查看(过去 30 天)
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

采纳的回答

Stephen23
Stephen23 2023-11-29
Where M is your array:
N = permute(M,[1,2,4,3])

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by