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
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
*
* This help file was generated from sftrans.sci using help_from_sci().
*
-->
<refentry version="5.0-subset Scilab" xml:id="sftrans" 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>sftrans</refname>
<refpurpose>Transform band edges of a prototype filter (cutoff at W=1) represented in s-plane zero-pole-gain form (Frequency Transformation in Analog domain).</refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Calling Sequence</title>
<synopsis>
[Sz, Sp, Sg] = sftrans (Sz, Sp, Sg, W, stop)
[Sz, Sp] = sftrans (Sz, Sp, Sg, W, stop)
[Sz] = sftrans (Sz, Sp, Sg, W, stop)
</synopsis>
</refsynopsisdiv>
<refsection>
<title>Parameters</title>
<variablelist>
<varlistentry><term>Sz:</term>
<listitem><para> Zeros.</para></listitem></varlistentry>
<varlistentry><term>Sp:</term>
<listitem><para> Poles.</para></listitem></varlistentry>
<varlistentry><term>Sg:</term>
<listitem><para> Gain.</para></listitem></varlistentry>
<varlistentry><term>W:</term>
<listitem><para> Edge of target filter.</para></listitem></varlistentry>
<varlistentry><term>stop:</term>
<listitem><para> True(%T or 1) for high pass and band stop filters or false (%F or 0) for low pass and band pass filters.</para></listitem></varlistentry>
</variablelist>
</refsection>
<refsection>
<title>Description</title>
<para>
Given a low pass filter represented by poles and zeros in the splane, can be converted into a </para>
<para> low pass (having diffrent cutoff frequency),</para>
<para> high pass,</para>
<para> band pass,</para>
<para> band stop.</para>
<para> by transforming each of the poles and zeros individually.</para>
</refsection>
<refsection>
<title>Examples</title>
<programlisting role="example"><![CDATA[
Sz = [1 2 3];
Sp = [4 5 6];
Sg = 15;
W = 20;
stop = %T;
[Sz, Sp, Sg] = sftrans (Sz, Sp, Sg, W, stop)
]]></programlisting>
</refsection>
<refsection>
<title>Modified by :</title>
<simplelist type="vert">
<member>Sonu Sharma, RGIT Mumbai (fellow at FOSSEE, IIT Bombay)</member>
</simplelist>
</refsection>
</refentry>
|