How to convert the following 4D matrix to 2D matrix?

6 Ansichten (letzte 30 Tage)
I want to convert matrix (1,100,100,16384) to 2d matrix

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 8 Okt. 2017
reshape(YourMatrix, 100*100, [])
if you want 100*100 rows and 16384 columns as your output
  2 Kommentare
Srikanth V
Srikanth V am 18 Jun. 2018
But the element order is not maintained
Walter Roberson
Walter Roberson am 18 Jun. 2018
What size of matrix are you starting with, and what size do you want to end up with, and what order do you want the elements to end up in?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Numeric Types finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by