linramp (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

Owning Class: waveform generation

Requires: MathScript RT Module

Syntax

c = linramp(a, b)

c = linramp(a, b, n)

Legacy Name: linspace

Description

Generates equally distributed samples that lie between two values.

Examples

Inputs

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.

Outputs

Name Description
c Returns n equally distributed samples between a and b. c is a vector.

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

C = linramp(1, 10, 30)

Related Topics

logramp

文章是否对您有帮助?

没有帮助