# linspace

linearly spaced vector constructor.

## Syntax

* V = linspace(s, e)
* V = linspace(s, e, n)

## Input argument

* s - first value: a scalar, single or double.
* e - last value: a scalar, single or double.
* n - Number of points: a scalar, single or double (by default 100).

## Output argument

* V - result of linspace: an linearly spaced vector.

## Description

**linspace** generates an linearly spaced vector.

## Example

```matlab
V = linspace(1+2i, 10+10i, 4)
```

## See also

[logspace](logspace).

## History

| Version | Description     |
| ------- | --------------- |
| 1.0.0   | initial version |

## Author

Allan CORNET
