making a list using table but with different increment after a certain number
- To: mathgroup at smc.vnet.net
- Subject: [mg81469] making a list using table but with different increment after a certain number
- From: sean_incali <sean_incali at yahoo.com>
- Date: Mon, 24 Sep 2007 04:21:45 -0400 (EDT)
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?
- Follow-Ups:
- Re: making a list using table but with different increment after a certain number
- From: János <janos.lobb@yale.edu>
- RE: making a list using table but with different increment after a certain number
- From: "Ingolf Dahl" <ingolf.dahl@telia.com>
- Re: making a list using table but with different increment after a certain number
- From: Syd Geraghty <sydgeraghty@mac.com>
- Re: making a list using table but with different increment after a certain number
- From: Sseziwa Mukasa <mukasa@jeol.com>
- Re: making a list using table but with different increment after a certain number