Quantcast
Channel: MATLAB Central Newsreader - tag:"homework"
Viewing all articles
Browse latest Browse all 36

Re: merge two arrays

$
0
0
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!
>
>
>
>
>

Viewing all articles
Browse latest Browse all 36

Trending Articles