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

« back to all changes in this revision

Viewing changes to modules/signal_processing/help/ja_JP/identification/phc.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="phc">
 
3
    <refnamediv>
 
4
        <refname>phc</refname>
 
5
        <refpurpose> Markovian表現</refpurpose>
 
6
    </refnamediv>
 
7
    <refsynopsisdiv>
 
8
        <title>呼び出し手順</title>
 
9
        <synopsis>[H,F,G]=phc(hk,d,r)</synopsis>
 
10
    </refsynopsisdiv>
 
11
    <refsection>
 
12
        <title>パラメータs</title>
 
13
        <variablelist>
 
14
            <varlistentry>
 
15
                <term>hk</term>
 
16
                <listitem>
 
17
                    <para>ハンケル行列</para>
 
18
                </listitem>
 
19
            </varlistentry>
 
20
            <varlistentry>
 
21
                <term>d</term>
 
22
                <listitem>
 
23
                    <para>観測量の次元</para>
 
24
                </listitem>
 
25
            </varlistentry>
 
26
            <varlistentry>
 
27
                <term>r</term>
 
28
                <listitem>
 
29
                    <para>
 
30
                        指定する近似モデルの状態量の次元
 
31
                    </para>
 
32
                </listitem>
 
33
            </varlistentry>
 
34
            <varlistentry>
 
35
                <term>H, F, G</term>
 
36
                <listitem>
 
37
                    <para>Markovianモデルの行列</para>
 
38
                </listitem>
 
39
            </varlistentry>
 
40
        </variablelist>
 
41
    </refsection>
 
42
    <refsection>
 
43
        <title>説明</title>
 
44
        <para>
 
45
            確率過程の共分散系列から構築されたハンケル行列から
 
46
            主ハンケル要素近似法により
 
47
            Markovian表現の行列<literal>H, F, G</literal>を計算する関数.
 
48
        </para>
 
49
    </refsection>
 
50
    <refsection>
 
51
        <title>例</title>
 
52
        <programlisting role="example"><![CDATA[ 
 
53
//This example may usefully be compared with the results from 
 
54
//the 'levin' macro (see the corresponding help and example)
 
55
//
 
56
//We consider the process defined by two sinusoids (1Hz and 2 Hz) 
 
57
//in additive Gaussian noise (this is the observation); 
 
58
//the simulated process is sampled at 10 Hz.
 
59
 
 
60
t=0:.1:100;rand('normal');
 
61
y=sin(2*%pi*t)+sin(2*%pi*2*t);y=y+rand(y);plot(t,y)
 
62
 
 
63
//covariance of y
 
64
 
 
65
nlag=128;
 
66
c=corr(y,nlag);
 
67
 
 
68
//hankel matrix from the covariance sequence
 
69
//(we can choose to take more information from covariance
 
70
//by taking greater n and m; try it to compare the results !
 
71
 
 
72
n=20;m=20;
 
73
h=hank(n,m,c);
 
74
 
 
75
//compute the Markov representation (mh,mf,mg)
 
76
//We just take here a state dimension equal to 4 :
 
77
//this is the rather difficult problem of estimating the order !
 
78
//Try varying ns ! 
 
79
//(the observation dimension is here equal to one)
 
80
 
 
81
ns=4;
 
82
[mh,mf,mg]=phc(h,1,ns);
 
83
 
 
84
//verify that the spectrum of mf contains the 
 
85
//frequency spectrum of the observed process y
 
86
//(remember that y is sampled -in our example 
 
87
//at 10Hz (T=0.1s) so that we need 
 
88
//to retrieve the original frequencies through the log 
 
89
//and correct scaling by the frequency sampling)
 
90
 
 
91
s=spec(mf);s=log(s);
 
92
s=s/2/%pi/.1;
 
93
 
 
94
//now we get the estimated spectrum
 
95
imag(s),
 
96
 ]]></programlisting>
 
97
    </refsection>
 
98
    <refsection role="see also">
 
99
        <title>参照</title>
 
100
        <simplelist type="inline">
 
101
            <member>
 
102
                <link linkend="levin">levin</link>
 
103
            </member>
 
104
        </simplelist>
 
105
    </refsection>
 
106
</refentry>