Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

Re: Step increase in Table

  • To: mathgroup at smc.vnet.net
  • Subject: [mg121383] Re: Step increase in Table
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Tue, 13 Sep 2011 07:19:37 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Reply-to: hanlonr at cox.net

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 at 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






  • Prev by Date: CUDA Initialization Problem
  • Next by Date: Re: DiscretePlot filling is darker above axis than below
  • Previous by thread: Step increase in Table
  • Next by thread: BarChart Labeling