Oct 26, 2009 #1 R 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
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
Oct 26, 2009 #2 R00KIE Full Member level 2 Joined Jan 19, 2003 Messages 149 Helped 23 Reputation 46 Reaction score 3 Trophy points 1,298 Location Portugal Activity points 1,240 Maybe something like this: c(4,2,1:4) = a(4,2,1:4); c(4,2,5:100) = b(4,2,1:96);