Conversion of 4D array to a 2D array
Show older comments
I have 4D array E1 = E(13,1,8:20,1:800), and would like to convert it into a 2D array. The E1 displays the output as: val(:, :, 1, 1) = .... val(:, :, 2, 1) =..... ...................... ...................... val(:, :, 13, 800)=..... Now, I would like to generate a 2D output with 1:800 in rows and 8:20 in columns.
4 Comments
madhan ravi
on 21 Aug 2018
Can you show an example which is simple?
Walter Roberson
on 21 Aug 2018
What is E(13,1,8:20,1:800) intended to convey ?
uvejb
on 21 Aug 2018
uvejb
on 21 Aug 2018
Accepted Answer
More Answers (0)
Categories
Find more on Data 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!