<?xml version="1.0" encoding="UTF-8"?>

<!--
 *
 * This help file was generated from vco.sci using help_from_sci().
 *
 -->

<refentry version="5.0-subset Scilab" xml:id="vco" xml:lang="en"
          xmlns="http://docbook.org/ns/docbook"
          xmlns:xlink="http://www.w3.org/1999/xlink"
          xmlns:svg="http://www.w3.org/2000/svg"
          xmlns:ns3="http://www.w3.org/1999/xhtml"
          xmlns:mml="http://www.w3.org/1998/Math/MathML"
          xmlns:scilab="http://www.scilab.org"
          xmlns:db="http://docbook.org/ns/docbook">

  <refnamediv>
    <refname>vco</refname>
    <refpurpose>Voltage Controlled Oscillator</refpurpose>
  </refnamediv>


<refsynopsisdiv>
   <title>Syntax</title>
   <synopsis>
   y=vco(x,fc,fs)
   y=vco(x,[fmin fmax],fs)
   
   </synopsis>
</refsynopsisdiv>

<refsection>
   <title>Parameters</title>
   <variablelist>
        <varlistentry>
            <term>x :</term>
            <listitem><para> A vector or a matrix</para></listitem>
        </varlistentry>
        <varlistentry>
            <term>fc :</term>
            <listitem><para> Carrier frequency</para></listitem>
        </varlistentry>
        <varlistentry>
            <term>fmin :</term>
            <listitem><para> Minimum frequency of the frequency range</para></listitem>
        </varlistentry>
        <varlistentry>
            <term>fmax :</term>
            <listitem><para> Maximum frequency of the frequency range</para></listitem>
        </varlistentry>
   </variablelist>
</refsection>

<refsection>
   <title>Description</title>
   <para>
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
   </para>
   <para>
</para>
</refsection>

<refsection>
   <title>Examples</title>
   <programlisting role="example"><![CDATA[
x=rand()
y=vco(x,2000,8000)

   ]]></programlisting>
</refsection>

<refsection>
   <title>Authors</title>
   <simplelist type="vert">
   <member>Ankur Mallick</member>
   </simplelist>
</refsection>
</refentry>
