MathGroup Archive 2011

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

Search the Archive

Re: concatenate matrices?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg118107] Re: concatenate matrices?
  • From: David Bailey <dave at removedbailey.co.uk>
  • Date: Tue, 12 Apr 2011 05:59:35 -0400 (EDT)
  • References: <inunen$2g1$1@smc.vnet.net>

On 11/04/2011 12:08, 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
>

I will assume that by 'column matrix', you mean a vector. In that case 
you should use

Transpose[{y1,y2}]

Note that in general it is almost always better to frame your questions 
with some code because it eliminates all sorts of possible ambiguities.

David Bailey
http://www.dbaileyconsultancy.co.uk


  • Prev by Date: Re: How to plot derivative directly?
  • Next by Date: What are the issues with Wolfram demonstration site these days?
  • Previous by thread: Re: concatenate matrices?
  • Next by thread: Re: concatenate matrices?