MathGroup Archive 2006

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

Search the Archive

Re: How to create {{x1,y1}, ..., {xn,yn}} data from {x1,...,xn} and {y1, ..., yn}

  • To: mathgroup at smc.vnet.net
  • Subject: [mg63779] Re: How to create {{x1,y1}, ..., {xn,yn}} data from {x1,...,xn} and {y1, ..., yn}
  • From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
  • Date: Sat, 14 Jan 2006 02:32:22 -0500 (EST)
  • References: <dq7ual$3sk$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

a) Transpose[{{x1, x2, ..., xn},{y1, y2, ..., yn}}]
b) no but ther exist a single statement CompoundExpression[] that is 
abbreviated by
   the infix operator  ";"  and can hold any sequence of statements

Regards
  Jens

<youngjin.michael at gmail.com> schrieb im Newsbeitrag 
news:dq7ual$3sk$1 at smc.vnet.net...
> Hello,
>
> I would like to know how to create a table format data such as {{x1,
> y1}, {x2, y2}, ..., {xn, yn}} from
> {x1, x2, ..., xn} and {y1, y2, ..., yn}.
>
> I also would like to know if a user-defined function in Mathematica can
> have more than one statements in its body.
>
> Thanks in advance.
>
> Young-Jin
> 



  • Prev by Date: Re: Plot PDF of a Discrete Random Variable
  • Next by Date: Re: How to create {{x1,y1}, ..., {xn,yn}} data from {x1,...,xn} and {y1, ..., yn}
  • Previous by thread: Re: How to create {{x1,y1}, ..., {xn,yn}} data from {x1,...,xn} and {y1, ..., yn}
  • Next by thread: Re: How to create {{x1,y1}, ..., {xn,yn}} data from {x1,...,xn} and {y1, ..., yn}