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

vco (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

d = vco(a)

d = vco(a, b)

d = vco(a, b, c)

Description

Generates a wave that oscillates at a frequency determined by a.

Examples

Inputs

Name Description
a Specifies a signal. a is a real array. All elements of a must fall in the range [-1, 1].
b Specifies the carrier frequency. b is a nonnegative number or a two-element vector. If b is a nonnegative number, all elements of a must fall in the range [-1, 1]; an a-value of -1 corresponds to a frequency output of 0; an a-value of 1 corresponds to a frequency output of 2b, and all other values of a work in a linear fashion. If b is a two-element vector, an a-value of -1 corresponds to a frequency output of b(1); an a-value of 1 corresponds to a frequency output of b(2), and all other values of a use linear interpolation. The default is c/4.
c Specifies the sampling frequency. c is a positive number. The default is 1.

Outputs

Name Description
d Returns the oscillating wave.

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

X = -1:0.05:1;
Y = vco(X, [0.1, 0.2], 1);
plot(Y)

Related Topics

chirp
dirichlet
gausspulse
gaussmonopulse
pulsetrain
rectpulse
sawtooth
sinc
square
tripulse


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit