Creating a 4D array.

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

Asked:

on 16 Dec 2017

Answered:

on 16 Dec 2017

Community Treasure Hunt

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

Start Hunting!