Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2001

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

Search the Archive

Re: array generated

  • To: mathgroup at smc.vnet.net
  • Subject: [mg28892] Re: [mg28889] array generated
  • From: maarten.vanderburgt at icos.be
  • Date: Fri, 18 May 2001 01:12:58 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Julian,

This will do I guess:

sweetTable[start_,stop_,npoints_]:= Table[i,{i,start,stop,(stop - start)/(npoints-1)}]

sweetTable[-1,-3,5]
{-1, -3/2,  -2,  -5/2 ,-3}
sweetTable[-0.1,3.3,5]
{-0.1,0.75,1.6,2.45,3.3}


Maarten van der Burgt
Leuven, Belgium





Julian Sweet <jsweet at engineering.ucsb.edu> on 17-05-2001 10:23:01 AM

cc:

Subject: [mg28892]  [mg28889] array generated


     Is there a command that will allow me to specify a start and
stop value, and the number of points i want generated?

Table[i,{i,min,max,di}] requires that i specify the interval, di, and
surmise the resultant number of points from that interval.


e-mail response appreciated: jsweet at engineering.ucsb.edu







  • Prev by Date: Mathematica graphics/fonts and Tex
  • Next by Date: Re: ListPlot vs ListPlot3D
  • Previous by thread: Re: array generated
  • Next by thread: Re: array generated