blob: 29c93f6af86d693a729cc67056bd50aa9bc91f46 (
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
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
*
* This help file was generated from intfilt.sci using help_from_sci().
*
-->
<refentry version="5.0-subset Scilab" xml:id="intfilt" 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>intfilt</refname>
<refpurpose>The "intfilt" function estimate Interpolated FIR Filter Design</refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Calling Sequence</title>
<synopsis>
h=intfilt(R,L,freqmult)
[h a]=intfilt(R,L,freqmult)
</synopsis>
</refsynopsisdiv>
<refsection>
<title>Parameters</title>
<variablelist>
<varlistentry><term>R:</term>
<listitem><para> Samples. It should be numeric</para></listitem></varlistentry>
<varlistentry><term>L:</term>
<listitem><para> bandlimited interpolation samples. It must be nonzero.</para></listitem></varlistentry>
<varlistentry><term>freqmult:</term>
<listitem><para> bandlimitedness of ALPHA times the Nyquist frequency. It can be numeric or character ('B' or 'L', B is length (N+1)*L-1 for N odd and (N+1)*L for N even) </para></listitem></varlistentry>
</variablelist>
</refsection>
<refsection>
<title>Description</title>
<para>
"h=intfilt(R,L,freqmult)" designs a linear phase FIR filter. This function does ideal bandlimited interpolation using the nearest 2*L nonzero samples, when used on a sequence inserted with l-1 consecutive zeros between every l samples. It assumes an original bandlimitedness of "freqmult" times the Nyquist frequency.
</para>
</refsection>
<refsection>
<title>Example 1</title>
<programlisting role="example"><![CDATA[
h1=intfilt(2,3,'l');
//EXPECTED OUTPUT :
// -0.0625 0. 0.5625 1. 0.5625 0. -0.0625
]]></programlisting>
</refsection>
<refsection>
<title>Example 2</title>
<programlisting role="example"><![CDATA[
h1=intfilt(4,1,1);
//EXPECTED OUTPUT :
// 0.3001054 0.6366198 0.9003163 1. 0.9003163 0.6366198 0.3001054
]]></programlisting>
</refsection>
<refsection>
<title>Authors</title>
<simplelist type="vert">
<member>Jitendra Singh</member>
</simplelist>
</refsection>
</refentry>
|