Re: concatenate matrices?
- To: mathgroup at smc.vnet.net
- Subject: [mg118088] Re: concatenate matrices?
- From: Sourav Mukherjee <sourav.scube at gmail.com>
- Date: Tue, 12 Apr 2011 05:56:07 -0400 (EDT)
Let's say you have two column matrices: c1 = {{a},{b},{c}} and c2 = {{p},{q},{r}} You build the matrix {{a, p}, {b, q}, {c, r}} by doing Join[c1, c2, 2] ~Sourav On Mon, Apr 11, 2011 at 4:38 PM, hadi motamedi <motamedi24 at gmail.com> wrote: > Dear All > I have two column matrices named y1 & y2 with dimensions as 448000*1 . > Can you please let me know how to construct a new matrix say 'y' with > dimensions 448000*2 such that each column of it equals y1(or y2)? > Thank you > >