blob: 5974df78172a1aba314012e92808e1c08893898e (
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
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
*
* This help file was generated from isfir.sci using help_from_sci().
*
-->
<refentry version="5.0-subset Scilab" xml:id="isfir" 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>isfir</refname>
<refpurpose> Determines whether given system function is FIR or not</refpurpose>
<para> </para>
</refnamediv>
<refsynopsisdiv>
<title>Calling Sequence</title>
<synopsis>
fir = isfir(b,a)
fir = isfir(sos)
</synopsis>
<para> </para>
</refsynopsisdiv>
<refsection>
<title>Parameters</title>
<variablelist>
<varlistentry><term>b</term>
<listitem><para> Coefficients of numerator polynomial of system function </para></listitem></varlistentry>
<varlistentry><term>a</term>
<listitem><para> Coefficients of denumerator polynomial of system function</para></listitem></varlistentry>
<varlistentry><term>sos</term>
<listitem><para> Second order section matrix of order Kx6 </para></listitem></varlistentry>
<varlistentry><term>fir</term>
<listitem><para> This function returns logical 1 if system is FIR (fir = 1) </para> <para> Otherwise it returns logical 0 (fir = 0)</para></listitem></varlistentry>
</variablelist>
<para> </para>
</refsection>
<refsection>
<title>Description</title>
<para> This function takes input a System function in terms of numerator and denumerator coefficients or in second order section (sos) matrix and checks for system having Finite Impulse Response (FIR) or not </para>
<para> </para>
</refsection>
<refsection>
<title>Examples</title>
<para>Checking given system function is FIR or not</para>
<para>
<latex>
\begin{eqnarray}
H(z) = 1 - z^{-1} + z^{-2}
\end{eqnarray}
</latex>
</para>
<para> </para>
<programlisting role="example"><![CDATA[
b = [1 -1 1] ;
a = 1 ;
f = isfir(b,a) //This is an example of FIR system function, hence output will be f = 1
]]></programlisting>
</refsection>
</refentry>
|