Voltage Controlled Oscillator
y=vco(x,fc,fs) y=vco(x,[fmin fmax],fs)
y=vco(x,fc,fs) Creates a frequency modulated cosine wave y whose frequency varies as the magnitude of x x lies in [-1,1]. x=-1 corresponds to a frequency of 0, x=0 corresponds to a frequency of fc and x=1 corresponds to a frequency of 2fc. y=vco(x,[fmin fmax],fs) Scales the frequency range so that x=-1 corresponds to a frequency of fmin and x=1 corresponds to a frequency of fmax If x is a matrix the same operation is performed on the columns on x Size of y is the same as the size of x Example x=rand() x =
0.2113249 y=vco(x,2000,8000) y =
0.9454092 Author Ankur Mallick