Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4916

Re: Step increase in Table

From Bob Hanlon <hanlonr@cox.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Step increase in Table
Date 2011-09-13 11:23 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j4nef8$51o$1@smc.vnet.net> (permalink)

Show all headers | View raw


seq = {1};

Module[{y}, While[(y = 1.1 seq[[-1]]) <= 10, AppendTo[seq, y]]]

data = Table[{x, x^2}, {x, seq}]


Bob Hanlon

---- Jiwan Kim <hwoarang.kim@gmail.com> wrote: 

=============
Hello mathgroup,

I wonder if the step increase in Table can be varied in mathematica..
For example, Table[{x,x^2},{x,1,10,step}],
where, step is not constant but can be a function of x (like x/10 :
increasing step)..
What should I do for it...?
Thank you in advance..


-------------------------------------------------------------------------
Institute of Physics and Chemistry of Materials Strasbourg (IPCMS)
Department of Ultrafast Optics and Nanophotonics (DON)
23 rue du Loess, B.P. 43,
67034 STRASBOURG Cedex 2, France


Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Step increase in Table Bob Hanlon <hanlonr@cox.net> - 2011-09-13 11:23 +0000

csiph-web