blob: 0fd7769fe00a29e50a2f32d1d820b79913faa9e8 (
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>vco</title>
<style type="text/css" media="all">
@import url("scilab_code.css");
@import url("xml_code.css");
@import url("c_code.css");
@import url("style.css");
</style>
</head>
<body>
<div class="manualnavbar">
<table width="100%"><tr>
<td width="30%">
<span class="previous"><a href="var.html"><< var</a></span>
</td>
<td width="40%" class="center">
<span class="top"><a href="section_cc2bc01c47967d47fcf3507a91d572ba.html">FOSSEE Signal Processing Toolbox</a></span>
</td>
<td width="30%" class="next">
<span class="next"><a href="wconv.html">wconv >></a></span>
</td>
</tr></table>
<hr />
</div>
<span class="path"><a href="index.html">FOSSEE Signal Processing Toolbox</a> >> <a href="section_cc2bc01c47967d47fcf3507a91d572ba.html">FOSSEE Signal Processing Toolbox</a> > vco</span>
<br /><br />
<div class="refnamediv"><h1 class="refname">vco</h1>
<p class="refpurpose">Voltage Controlled Oscillator</p></div>
<div class="refsynopsisdiv"><h3 class="title">Calling Sequence</h3>
<div class="synopsis"><pre><span class="default">y</span><span class="default">=</span><span class="functionid">vco</span><span class="default">(</span><span class="default">x</span><span class="default">,</span><span class="default">fc</span><span class="default">,</span><span class="default">fs</span><span class="default">)</span>
<span class="default">y</span><span class="default">=</span><span class="functionid">vco</span><span class="default">(</span><span class="default">x</span><span class="default">,[</span><span class="default">fmin</span> <span class="default">fmax</span><span class="default">],</span><span class="default">fs</span><span class="default">)</span></pre></div></div>
<div class="refsection"><h3 class="title">Parameters</h3>
<dl></dl></div>
<div class="refsection"><h3 class="title">Description</h3>
<p class="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 =</p>
<p class="para">0.2113249
y=vco(x,2000,8000)
y =</p>
<p class="para">0.9454092
Author
Ankur Mallick</p></div>
<br />
<div class="manualnavbar">
<table width="100%">
<tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr>
<tr>
<td width="30%">
<span class="previous"><a href="var.html"><< var</a></span>
</td>
<td width="40%" class="center">
<span class="top"><a href="section_cc2bc01c47967d47fcf3507a91d572ba.html">FOSSEE Signal Processing Toolbox</a></span>
</td>
<td width="30%" class="next">
<span class="next"><a href="wconv.html">wconv >></a></span>
</td>
</tr></table>
<hr />
</div>
</body>
</html>
|