Try : C(:)=[A;B]
"Young Ryu" wrote in message <g0i33h$ntr$1@fred.mathworks.com>...
> Hi-
>
> I have two arrays:
> A=
> 1 2
> 3 4
> 5 6
>
> and
> B=
> 7 8
> 9 10
>
> I tried to merge two arrays like:
> C=
> 1 2
> 3 4
> 5 6
> 7 8
> 9 10
>
> Is there any simple method for getting C?
>
> Thanks!
>
>
>
>
>
"Young Ryu" wrote in message <g0i33h$ntr$1@fred.mathworks.com>...
> Hi-
>
> I have two arrays:
> A=
> 1 2
> 3 4
> 5 6
>
> and
> B=
> 7 8
> 9 10
>
> I tried to merge two arrays like:
> C=
> 1 2
> 3 4
> 5 6
> 7 8
> 9 10
>
> Is there any simple method for getting C?
>
> Thanks!
>
>
>
>
>