summaryrefslogtreecommitdiff
path: root/help/en_US/vco.xml
blob: 44310c19c6d917b5ef466a425dacf06f81aa1847 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?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>Calling Sequence</title>
   <synopsis>
   y=vco(x,fc,fs)
   y=vco(x,[fmin fmax],fs)
   </synopsis>
</refsynopsisdiv>

<refsection>
   <title>Parameters</title>
   <variablelist>
   </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
Example
x=rand()
x  =
   </para>
   <para>
0.2113249
y=vco(x,2000,8000)
y  =
   </para>
   <para>
0.9454092
Author
Ankur Mallick
</para>
</refsection>
</refentry>