Owning Class: waveform generation
Requires: MathScript RT Module
d = vco(a)
d = vco(a, b)
d = vco(a, b, c)
Generates a wave that oscillates at a frequency determined by a.
| 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. |
| Name | Description |
|---|---|
| d | Returns the oscillating wave. |
X = -1:0.05:1;
Y = vco(X, [0.1, 0.2], 1);
plot(Y)
chirp
dirichlet
gausspulse
gaussmonopulse
pulsetrain
rectpulse
sawtooth
sinc
square
tripulse