MathGroup Archive 2007

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

Search the Archive

Re: About Table


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