MathGroup Archive 2007

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

Search the Archive

Re: About Table

  • To: mathgroup at smc.vnet.net
  • Subject: [mg74972] Re: About Table
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Fri, 13 Apr 2007 02:02:52 -0400 (EDT)
  • Organization: The Open University, Milton Keynes, UK
  • References: <evksst$rid$1@smc.vnet.net>

Evanescence wrote:
> Hello dear all:
> My questions are as follows:
> First I have a list is{3,6,9,4.4,6.7,5,3,6.2,3.7,5.2,6.3,9,10,12,13.2}
> Then I want to have tableform is as follows:
> 
>     0      0       3
>     0     0.5     6
>     0       1      9
>     0     1.5    4.4
>     0       2     6.7
>    0.5     0       5
>    0.5    0.5     3
>    0.5      1     6.2
>    0.5    1.5    3.7
>    0.5      2     5.2
>     1        0     6.3
>     1       0.5     9
>     1         1     10
>     1       1.5    12
>     1          2    13.2
> 
> Please tell me how can I do it.
> Thank you very much
> Evanescence 2007 04 11

lst = {3, 6, 9, 4.4, 6.7, 5, 3, 6.2, 3.7, 5.2, 6.3, 9, 10, 12, 13.2};
Transpose[{Sequence @@@ Table[n, {n, 0, 1, 0.5}, {5}],
       Sequence @@@ Table[n, {3}, {n, 0, 2, 0.5}], lst}] // TableForm

Regards,
Jean-Marc


  • Prev by Date: Units of MaxBend?
  • Next by Date: area under a parametric curve
  • Previous by thread: Re: About Table
  • Next by thread: Re: About Table