Re: making a list using table but with different increment after

*To*: mathgroup at smc.vnet.net*Subject*: [mg81538] Re: making a list using table but with different increment after*From*: dh <dh at metrohm.ch>*Date*: Wed, 26 Sep 2007 06:56:54 -0400 (EDT)*References*: <fd7sae$cgl$1@smc.vnet.net>

Hi Sean, here are some possibilities: specify the values you want: Table[i,{i,{0,1,2,3,4,5,6,7,8,9,10,20,30}}] make 2 Lists: Join[Table[i,{i,0,9}],Table[i,{i,10,100,10}]] make 2 dim. list and flatten: Flatten[ Table[i 10^j,{j,0,1},{i,1,9}] ] multiply "mantissa" with "exponent": Table[i,{2},{i,1,9}] 10^{0,1} remember: there is more than one way to do things (like in Perl) hope this helps, Daniel sean_incali wrote: > I can make a list using > > Table[a, {a, 0, 100, 10}] > > gives > > {0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100} > > > But let's say I wanted to make a list that increment in 1 up to 10, > then increment in 10 onwards. > > So that after "tabling" I would get... > > {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 20, 30, 40, 50, 60, 70, 80, 90, > 100} > > How do I accomplish this? > >