create a new 4D Array from 2 others
Show older comments
Hi!
i want to build a new 4d array from 2 others and one array is telling me the position of the values that i want,
any idea?
Thanks!
7 Comments
Rik
on 24 Feb 2021
Here's my idea: post a better description of your input data.
Walter Roberson
on 24 Feb 2021
Is the position information linear indexes? Is it column numbers with the row number implied by the row number of the value?
Pepe Grillo
on 25 Feb 2021
Jan
on 25 Feb 2021
At "There is 7 levels of depth" I cannot follow you anymore. What is a level of depth?
Rik
on 25 Feb 2021
What values are in your 4D array and what shape is your u variable?
And can you confirm you mean the lenght along the second dimension of your 4D array is 7? So you have an t-by-7-by-lat-by-lon array?
Pepe Grillo
on 25 Feb 2021
Pepe Grillo
on 25 Feb 2021
Accepted Answer
More Answers (0)
Categories
Find more on Data Type Identification 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!