From: Gumah on
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
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
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