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

 Akzeptierte Antwort

Stephen23
Stephen23 am 29 Nov. 2023

0 Stimmen

Where M is your array:
N = permute(M,[1,2,4,3])

Weitere Antworten (0)

Gefragt:

M
M
am 29 Nov. 2023

Beantwortet:

am 29 Nov. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by