Back to Core Functions
linspace
Generate linearly spaced vector
Syntax
v = linspace(a, b, n)
Description
Returns a row vector of `n` evenly spaced points between `a` and `b` (inclusive).
Parameters
| Name | Description |
|---|---|
| a | Start value |
| b | End value |
| n | Number of points |
Returns
1×n NDArray