Download Help (Windows Only) 
Owning Class: waveform generation
Requires: MathScript RT Module
h = chirp(a)
h = chirp(a, b)
h = chirp(a, b, c)
h = chirp(a, b, c, d)
h = chirp(a, b, c, d, e)
h = chirp(a, b, c, d, e, f)
h = chirp(a, b, c, d, e, f, g)
Generates a sweptfrequency cosine wave.
Name  Description  

a  Specifies the sampling time. a is a real array.  
b  Specifies the start frequency of the chirp wave when t = 0. b is a positive real number. The default is 0.  
c  Specifies a time point. c is a positive number. The default is 1.  
d  Specifies the final frequency of the chirp wave when t = c. d is a positive real number. The default is 100.  
e  Specifies alternate sweep methods. e is a string that can be either 'linear', 'quadratic', or 'logarithmic'. The default is 'linear'. If you specify 'logarithmic', d must be larger than b.  
f  Specifies the initial phase in degree. f is a real number. The default is 0.  
g  If you specify 'quadratic', you also can specify a g input. g is a string that accepts the following values.

Name  Description 

h  Returns the sampled sweptfrequency cosine wave. 
The following table lists the support characteristics of this function.
Supported in the LabVIEW RunTime Engine  Yes 
Supported on RT targets  Yes 
Suitable for bounded execution times on RT  Not characterized 
X = 0:0.01:2;
Y = chirp(X, 100, 1, 200, 'quadratic');
plot(X, Y)
dirichlet
gaussmonopulse
gausspulse
pulsetrain
rectpulse
sawtooth
sinc
square
tripulse
vco