MATLAB: Concatinate 4D Time-Signals

4dconcatenateMATLAB

Hi,
How can i concatinate 20 , 4D signals
I1 = rand(32,32,1,13) ;
I2 = rand(40,32,1,13) ;
...
I20 = rand(47,32,1,13) ;
Catq1=cat(4,I1,I2);
The above give me error? What can i do?

Best Answer

You want to concatenate on the dim which is not same for both, right?
Catq1 = cat(1,I1,I2);
% OR
Catq1 = [I1;I2];