~ubuntu-branches/ubuntu/raring/scilab/raring-proposed

« back to all changes in this revision

Viewing changes to modules/signal_processing/help/ja_JP/fsfirlin.xml

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-08-30 14:42:38 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20120830144238-c1y2og7dbm7m9nig
Tags: 5.4.0-beta-3-1~exp1
* New upstream release
* Update the scirenderer dep
* Get ride of libjhdf5-java dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?>
2
 
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="ja" xml:id="fsfirlin">
3
 
  <refnamediv>
4
 
    <refname>fsfirlin</refname>
5
 
    <refpurpose>FIRの設計,線形位相フィルタ, 周波数標本法e</refpurpose>
6
 
  </refnamediv>
7
 
  <refsynopsisdiv>
8
 
    <title>呼び出し手順</title>
9
 
    <synopsis>[hst]=fsfirlin(hd,flag)</synopsis>
10
 
  </refsynopsisdiv>
11
 
  <refsection>
12
 
    <title>パラメータ</title>
13
 
    <variablelist>
14
 
      <varlistentry>
15
 
        <term>hd</term>
16
 
        <listitem>
17
 
          <para>指定する周波数応答標本のベクトル</para>
18
 
        </listitem>
19
 
      </varlistentry>
20
 
      <varlistentry>
21
 
        <term>flag</term>
22
 
        <listitem>
23
 
          <para>値は1 または 2で, 1形または2形設計を選択します</para>
24
 
        </listitem>
25
 
      </varlistentry>
26
 
      <varlistentry>
27
 
        <term>hst</term>
28
 
        <listitem>
29
 
          <para>
30
 
            周波数グリッドにおける近似的な連続応答を指定するベクトル
31
 
          </para>
32
 
        </listitem>
33
 
      </varlistentry>
34
 
    </variablelist>
35
 
  </refsection>
36
 
  <refsection>
37
 
    <title>説明</title>
38
 
    <para>
39
 
      周波数標本法による
40
 
      FIR,線形位相フィルタの設計用関数です.
41
 
    </para>
42
 
  </refsection>
43
 
  <refsection>
44
 
    <title>例</title>
45
 
    <programlisting role="example"><![CDATA[ 
46
 
//
47
 
//Example of how to use the fsfirlin macro for the design 
48
 
//of an FIR filter by a frequency sampling technique.
49
 
//
50
 
//Two filters are designed : the first (response hst1) with 
51
 
//abrupt transitions from 0 to 1 between passbands and stop 
52
 
//bands; the second (response hst2) with one sample in each 
53
 
//transition band (amplitude 0.5) for smoothing.
54
 
//
55
 
hd=[zeros(1,15) ones(1,10) zeros(1,39)];//desired samples
56
 
hst1=fsfirlin(hd,1);//filter with no sample in the transition
57
 
hd(15)=.5;hd(26)=.5;//samples in the transition bands
58
 
hst2=fsfirlin(hd,1);//corresponding filter
59
 
pas=1/prod(size(hst1))*.5;
60
 
fg=0:pas:.5;//normalized frequencies grid
61
 
plot2d([1 1].*.fg(1:257)',[hst1' hst2']);
62
 
 
63
 
// 2nd example
64
 
hd=[0*ones(1,15) ones(1,10) 0*ones(1,39)];//desired samples
65
 
hst1=fsfirlin(hd,1);//filter with no sample in the transition
66
 
hd(15)=.5;hd(26)=.5;//samples in the transition bands
67
 
hst2=fsfirlin(hd,1);//corresponding filter
68
 
pas=1/prod(size(hst1))*.5;
69
 
fg=0:pas:.5;//normalized frequencies grid
70
 
n=prod(size(hst1))
71
 
plot(fg(1:n),hst1);
72
 
plot2d(fg(1:n)',hst2',[3],"000");
73
 
 ]]></programlisting>
74
 
  </refsection>
75
 
  <refsection role="see also">
76
 
    <title>参照</title>
77
 
    <simplelist type="inline">
78
 
      <member>
79
 
        <link linkend="ffilt">ffilt</link>
80
 
      </member>
81
 
      <member>
82
 
        <link linkend="wfir">wfir</link>
83
 
      </member>
84
 
    </simplelist>
85
 
  </refsection>
86
 
</refentry>