({{, (RefLink[Subdivide, paclet:ref/Subdivide])[n] 
generates the list {0,1/n,2/n,…,1}.}, {, (RefLink[Subdivide, paclet:ref/Subdivide])[(Subscript[x, max]),n]
generates the list of values obtained by subdividing the interval 0 to (Subscript[x, max]) into n equal parts.}, {, (RefLink[Subdivide, paclet:ref/Subdivide])[(Subscript[x, min]),(Subscript[x, max]),n]
generates the list of values from subdividing the interval (Subscript[x, min]) to (Subscript[x, max]).}})

OpenersNotesSection(Spacer1)Details

(RefLink[Subdivide, paclet:ref/Subdivide])[…,n] generates a list of length n+1.

OpenersPrimaryExamplesSection(Spacer1)Examples  (6)

OpenersExampleSection0(Spacer1)Basic Examples  (3)

Subdivide the unit interval into 10 equal parts:

Subdivide[10]

Subdivide the interval 0 to 10 into 5 equal parts:

Subdivide[10,5]

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

Subdivide [-1.,1.,8]

OpenersExampleSection1(Spacer1)Scope  (2)

Subdivide a symbolic interval from a to b into 6 parts:

Subdivide[a,b,6]

Subdivide the interval from (RefLink[E, paclet:ref/E]) to (RefLink[Pi, paclet:ref/Pi]) using exact arithmetic:

Subdivide[E,Pi,4]

Use arbitrary-precision arithmetic starting with 21 digits:

Subdivide[N[E,21],N[Pi,21],4]

OpenersExampleSection3(Spacer1)Properties & Relations  (1)

(RefLink[Subdivide, paclet:ref/Subdivide])[(Subscript[x, min]),(Subscript[x, max]),n] is equivalent to (Subscript[x, min])+((Subscript[x, max])-(Subscript[x, min]))(RefLink[Range, paclet:ref/Range])[0,n]/n:

Subdivide[-1,2,5]

-1+(2-(-1))Range[0,5]/5

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[Range, paclet:ref/Range])  ▪  (RefLink[Table, paclet:ref/Table])  ▪  (RefLink[FindDivisions, paclet:ref/FindDivisions])  ▪  (RefLink[CirclePoints, paclet:ref/CirclePoints])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Constructing Lists, paclet:guide/ConstructingLists])}, {▪(RefLinkPlain[List Manipulation, paclet:guide/ListManipulation])}, {▪(RefLinkPlain[Regular & Coordinate Arrays, paclet:guide/RegularAndCoordinateArrays])}})}})