Wolfram Language & System 10.4 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

Subdivide

Subdivide[n]
generates the list .

Subdivide[xmax,n]
generates the list of values obtained by subdividing the interval to into n equal parts.

Subdivide[xmin,xmax,n]
generates the list of values from subdividing the interval to .

DetailsDetails

  • Subdivide[,n] generates a list of length n+1.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Subdivide the unit interval into 10 equal parts:

In[1]:=
Click for copyable input
Out[1]=

Subdivide the interval 0 to 10 into 5 equal parts:

In[1]:=
Click for copyable input
Out[1]=

Subdivide the interval to 1 into 8 equal parts using machine precision:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2015
(10.1)