LinSpace Function

Generates a linear number series of fixed length


Description

The function LinSpace generates a linearly increasing number series with a fixed number of elements.

The Start and Stop parameters determine the value of the first and last elements. The intermediate values are calculated from the number of elements.


Syntax

LinSpace (Length, Start, Stop)


Parameters

Length

Number of elements of the list


Start

First value in the list


Stop

Last value in the list

Example

Linspace(6,4,20)= 4 7.2 10.4 13.6 16.8 20