MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: concatenate matrices?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg118101] Re: concatenate matrices?
  • From: "Nasser M. Abbasi" <nma at 12000.org>
  • Date: Tue, 12 Apr 2011 05:58:29 -0400 (EDT)
  • References: <inunen$2g1$1@smc.vnet.net>
  • Reply-to: nma at 12000.org

On 4/11/2011 4:08 AM, hadi motamedi 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
>

y1 = {1,2,3}
y2 = {4,5,6}
y  = Transpose@{y1,y2}

--Nasser


  • Prev by Date: Re: How to plot derivative directly?
  • Next by Date: Re: concatenate matrices?
  • Previous by thread: Re: concatenate matrices?
  • Next by thread: Re: concatenate matrices?