Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

linramp (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

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


 

 Was this document helpful?  submit
  Helpful Not Helpful