Owning Class: waveform generation
Requires: MathScript RT Module
c = linramp(a, b)
c = linramp(a, b, n)
Legacy Name: linspace
Generates equally distributed samples that lie between two values.
| Name | Description |
|---|---|
| a | Specifies the lowest value of the range from which you want to take the samples. a is a scalar. |
| b | Specifies the highest value of the range from which you want to take the samples. b is a scalar. |
| n | Specifies the number of samples to generate. n is an integer. The default is 100. |
| Name | Description |
|---|---|
| c | Returns n equally distributed samples between a and b. c is a vector. |
C = linramp(1, 10, 30)