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

回答 (1 件)

Stephen23
Stephen23 2017 年 12 月 16 日

0 投票

cat(4,P_3D,t_n)

カテゴリ

質問済み:

2017 年 12 月 16 日

回答済み:

2017 年 12 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by