Matlab Concatenation of 4x2x4 with 4x2x96

Status
Not open for further replies.

reaman4ever

Newbie level 2
Joined
Oct 10, 2008
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,295
Hello I need to combine two numeric matrices
size(a)=4x2x4 and
size(b)=4x2x96 to make matrix c
size(c)=4x2x100

I have tried c=[a b]; c=[a,b]; c=[a;b];

but they don't work. What is the correct form?
thank you very much
 

Maybe something like this:

c(4,2,1:4) = a(4,2,1:4);
c(4,2,5:100) = b(4,2,1:96);
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…