[Master Index]
[Index for /tools/hpmatlab/toolbox/signal]
vco
(/tools/hpmatlab/toolbox/signal/vco.m)
Function Synopsis
y = vco(x,range,Fs)
Help text
VCO Voltage controlled oscillator
Y = VCO(X,Fc,Fs) creates a signal which oscillates at a frequency
determined by the input vector X. Fc is the carrier or reference
frequency, and Fs is the sampling frequency; if you input 0 for X,
Y will be a Fc Hertz cosine with amplitude 1 sampled at Fs Hertz.
The range of values for X is from -1 to 1; -1 corresponds to a 0
frequency output, 0 to Fc and 1 to 2*Fc. Y is the same size as X.
Y = VCO(X,[Fmin Fmax],Fs) scales the frequency modulation range so
that -1 and 1 values of X yield oscillations of Fmin and Fmax
Hertz respectively. For best results, Fmin and Fmax should be in
the range 0 to Fs/2.
If you do not specify either Fc or Fs, VCO uses the default values
Fs = 1 and Fc = Fs/4.
If X is a matrix, VCO produces a matrix whose columns oscillate
according to the columns of X.
See also MODULATE, DEMOD.
Cross-Reference Information
This function calls
- else /tools/hpmatlab/toolbox/matlab/lang/else.m
- end /tools/hpmatlab/toolbox/matlab/lang/end.m
- error /tools/hpmatlab/toolbox/matlab/lang/error.m
- if /tools/hpmatlab/toolbox/matlab/lang/if.m
- length /tools/hpmatlab/toolbox/matlab/general/length.m
- max /tools/hpmatlab/toolbox/matlab/datafun/max.m
- mean /tools/hpmatlab/toolbox/matlab/datafun/mean.m
- min /tools/hpmatlab/toolbox/matlab/datafun/min.m
- modulate /tools/hpmatlab/toolbox/signal/modulate.m
- nargin /tools/hpmatlab/toolbox/matlab/elmat/nargin.m
- pi /tools/hpmatlab/toolbox/matlab/elmat/pi.m
This function is called by
Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON