How to convert the following 4D matrix to 2D matrix?
5 views (last 30 days)
Show older comments
mohammed mahmoud
on 8 Oct 2017
Commented: Walter Roberson
on 18 Jun 2018
I want to convert matrix (1,100,100,16384) to 2d matrix
1 Comment
Accepted Answer
Walter Roberson
on 8 Oct 2017
reshape(YourMatrix, 100*100, [])
if you want 100*100 rows and 16384 columns as your output
2 Comments
Walter Roberson
on 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?
More Answers (0)
See Also
Categories
Find more on Numeric Types in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!