Creating a 4D array.
Show older comments
I have a 3D array, P_3D, which has the dimensions 1x301x1000. I want to make this a four dimensional array by 'inserting' another array consisting of values for time into P_3D, the time array, t_n, has the same dimensions as P_3D.
Is this possible?
I can give some background on the problem as a whole if that helps.
Thanks
Answers (1)
Stephen23
on 16 Dec 2017
cat(4,P_3D,t_n)
Categories
Find more on Logical 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!