Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #1632
| From | David Bailey <dave@removedbailey.co.uk> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: concatenate matrices? |
| Date | 2011-04-12 09:57 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <io17n3$ibf$1@smc.vnet.net> (permalink) |
| 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
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
concatenate matrices? hadi motamedi <motamedi24@gmail.com> - 2011-04-11 11:08 +0000 Re: concatenate matrices? "Nasser M. Abbasi" <nma@12000.org> - 2011-04-12 09:56 +0000 Re: concatenate matrices? David Bailey <dave@removedbailey.co.uk> - 2011-04-12 09:57 +0000 Re: concatenate matrices? Peter <petsie@dordos.net> - 2011-04-12 09:58 +0000
csiph-web