From: Gumah on 24 May 2010 19:17 hi all let say we have two vectors a=[ 1 2 3] and b [4 5 6] how to combine these two vectors to get c=[1 2 3 4 5 6]
From: Walter Roberson on 24 May 2010 19:33 Gumah wrote: > let say we have two vectors a=[ 1 2 3] and b [4 5 6] > how to combine these two vectors to get c=[1 2 3 4 5 6] Any of these: c=[a,b] c=horzcat(a,b); c=cat(2,a,b);
From: Gumah on 24 May 2010 19:36 On May 25, 7:33 am, Walter Roberson <rober...(a)hushmail.com> wrote: > Gumah wrote: > > let say we have two vectors a=[ 1 2 3] and b [4 5 6] > > how to combine these two vectors to get c=[1 2 3 4 5 6] > > Any of these: > > c=[a,b] > > c=horzcat(a,b); > > c=cat(2,a,b); Thanks a lot Walter
|
Pages: 1 Prev: Classify data points Next: Neural Network - simple question |