Generates a vector of size n and fills it with equally spaced numbers between x and y, whereby x is the first and y the last component of the returning vector. This may be a convenience function to create time-/frequency axes. The function expects x, y and n as real scalar.
Syntax
linspace(x, y, n)
Types
Variable Name | Value Type | Variable Type | ||
---|---|---|---|---|
Arguments: | x | real | scalar | |
y | real | scalar | ||
n | real | scalar | ||
Result: | v | real | vector |
Calculator Input
Use the
button to complete the operation.Example
ID | Description | Type | Value | Expression | |
---|---|---|---|---|---|
x | Argument | REAL | 3 | 3 | |
y | Argument | REAL | 4 | 4 | |
n | Argument | REAL | 5 | 5 | |
v | Result | REAL VECTOR |
| linspace(x) |