1 | <?xml version='1.0' encoding='UTF-8' standalone='no'?> |
---|
2 | <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.5.6"> |
---|
3 | <compounddef id="KalmanSq_8m" kind="file"> |
---|
4 | <compoundname>KalmanSq.m</compoundname> |
---|
5 | <sectiondef kind="var"> |
---|
6 | <memberdef kind="variable" id="KalmanSq_8m_1dd98c59cfc7fe0f3cd188db34ae90188" prot="public" static="no" mutable="no"> |
---|
7 | <type></type> |
---|
8 | <definition>function[xtn, oRxn, ll]</definition> |
---|
9 | <argsstring>[xtn, oRxn, ll]</argsstring> |
---|
10 | <name>function</name> |
---|
11 | <initializer>KalmanSq(xt,yt,A,C,oRw,oRv,oRx) |
---|
12 | |
---|
13 | dimx = size(A,1)</initializer> |
---|
14 | <briefdescription> |
---|
15 | </briefdescription> |
---|
16 | <detaileddescription> |
---|
17 | </detaileddescription> |
---|
18 | <inbodydescription> |
---|
19 | </inbodydescription> |
---|
20 | <location file="/home/smidl/work/mixpp/matlab/KalmanSq.m" line="3" bodyfile="/home/smidl/work/mixpp/matlab/KalmanSq.m" bodystart="1" bodyend="-1"/> |
---|
21 | </memberdef> |
---|
22 | <memberdef kind="variable" id="KalmanSq_8m_1df26d1da0d47fcb0e8e553d651e3fac4" prot="public" static="no" mutable="no"> |
---|
23 | <type></type> |
---|
24 | <definition>dimy</definition> |
---|
25 | <argsstring></argsstring> |
---|
26 | <name>dimy</name> |
---|
27 | <initializer> size(C,1)</initializer> |
---|
28 | <briefdescription> |
---|
29 | </briefdescription> |
---|
30 | <detaileddescription> |
---|
31 | </detaileddescription> |
---|
32 | <inbodydescription> |
---|
33 | </inbodydescription> |
---|
34 | <location file="/home/smidl/work/mixpp/matlab/KalmanSq.m" line="4" bodyfile="/home/smidl/work/mixpp/matlab/KalmanSq.m" bodystart="4" bodyend="-1"/> |
---|
35 | </memberdef> |
---|
36 | <memberdef kind="variable" id="KalmanSq_8m_1ad05f78187c942f9dd521605fa81f1ba" prot="public" static="no" mutable="no"> |
---|
37 | <type></type> |
---|
38 | <definition>M</definition> |
---|
39 | <argsstring></argsstring> |
---|
40 | <name>M</name> |
---|
41 | <initializer> [oRv C*oRx zeros(dimy,dimx)</initializer> |
---|
42 | <briefdescription> |
---|
43 | </briefdescription> |
---|
44 | <detaileddescription> |
---|
45 | </detaileddescription> |
---|
46 | <inbodydescription> |
---|
47 | </inbodydescription> |
---|
48 | <location file="/home/smidl/work/mixpp/matlab/KalmanSq.m" line="6" bodyfile="/home/smidl/work/mixpp/matlab/KalmanSq.m" bodystart="6" bodyend="-1"/> |
---|
49 | </memberdef> |
---|
50 | <memberdef kind="variable" id="KalmanSq_8m_18e65f1fdd0e1d957735bb841b994a4a1" prot="public" static="no" mutable="no"> |
---|
51 | <type></type> |
---|
52 | <definition>al</definition> |
---|
53 | <argsstring></argsstring> |
---|
54 | <name>al</name> |
---|
55 | <initializer>qr(M') r(1:2,end)</initializer> |
---|
56 | <briefdescription> |
---|
57 | </briefdescription> |
---|
58 | <detaileddescription> |
---|
59 | </detaileddescription> |
---|
60 | <inbodydescription> |
---|
61 | </inbodydescription> |
---|
62 | <location file="/home/smidl/work/mixpp/matlab/KalmanSq.m" line="11" bodyfile="/home/smidl/work/mixpp/matlab/KalmanSq.m" bodystart="11" bodyend="-1"/> |
---|
63 | </memberdef> |
---|
64 | <memberdef kind="variable" id="KalmanSq_8m_11364cba01e0ee80ef4381175bd6cf0d3" prot="public" static="no" mutable="no"> |
---|
65 | <type></type> |
---|
66 | <definition>be</definition> |
---|
67 | <argsstring></argsstring> |
---|
68 | <name>be</name> |
---|
69 | <initializer> r(3:4,end)</initializer> |
---|
70 | <briefdescription> |
---|
71 | </briefdescription> |
---|
72 | <detaileddescription> |
---|
73 | </detaileddescription> |
---|
74 | <inbodydescription> |
---|
75 | </inbodydescription> |
---|
76 | <location file="/home/smidl/work/mixpp/matlab/KalmanSq.m" line="12" bodyfile="/home/smidl/work/mixpp/matlab/KalmanSq.m" bodystart="12" bodyend="-1"/> |
---|
77 | </memberdef> |
---|
78 | <memberdef kind="variable" id="KalmanSq_8m_1f0b469af4c14c5b4b1e48c82e6e908b6" prot="public" static="no" mutable="no"> |
---|
79 | <type></type> |
---|
80 | <definition>oRxn</definition> |
---|
81 | <argsstring></argsstring> |
---|
82 | <name>oRxn</name> |
---|
83 | <initializer> r(dimy+1:dimy+dimx, dimy+1:dimy+dimx)</initializer> |
---|
84 | <briefdescription> |
---|
85 | </briefdescription> |
---|
86 | <detaileddescription> |
---|
87 | </detaileddescription> |
---|
88 | <inbodydescription> |
---|
89 | </inbodydescription> |
---|
90 | <location file="/home/smidl/work/mixpp/matlab/KalmanSq.m" line="14" bodyfile="/home/smidl/work/mixpp/matlab/KalmanSq.m" bodystart="14" bodyend="-1"/> |
---|
91 | </memberdef> |
---|
92 | <memberdef kind="variable" id="KalmanSq_8m_1c34811bbdbe0147bd1c59a5aced7db9f" prot="public" static="no" mutable="no"> |
---|
93 | <type></type> |
---|
94 | <definition>xtn</definition> |
---|
95 | <argsstring></argsstring> |
---|
96 | <name>xtn</name> |
---|
97 | <initializer> oRxn'*be</initializer> |
---|
98 | <briefdescription> |
---|
99 | </briefdescription> |
---|
100 | <detaileddescription> |
---|
101 | </detaileddescription> |
---|
102 | <inbodydescription> |
---|
103 | </inbodydescription> |
---|
104 | <location file="/home/smidl/work/mixpp/matlab/KalmanSq.m" line="15" bodyfile="/home/smidl/work/mixpp/matlab/KalmanSq.m" bodystart="15" bodyend="-1"/> |
---|
105 | </memberdef> |
---|
106 | <memberdef kind="variable" id="KalmanSq_8m_1562b530cff1f5bca3b1a4c1ad4ad9962" prot="public" static="no" mutable="no"> |
---|
107 | <type></type> |
---|
108 | <definition>ll</definition> |
---|
109 | <argsstring></argsstring> |
---|
110 | <name>ll</name> |
---|
111 | <initializer>0</initializer> |
---|
112 | <briefdescription> |
---|
113 | </briefdescription> |
---|
114 | <detaileddescription> |
---|
115 | </detaileddescription> |
---|
116 | <inbodydescription> |
---|
117 | </inbodydescription> |
---|
118 | <location file="/home/smidl/work/mixpp/matlab/KalmanSq.m" line="17" bodyfile="/home/smidl/work/mixpp/matlab/KalmanSq.m" bodystart="17" bodyend="-1"/> |
---|
119 | </memberdef> |
---|
120 | </sectiondef> |
---|
121 | <sectiondef kind="func"> |
---|
122 | <memberdef kind="function" id="KalmanSq_8m_1a342c11652cfeecbea3be14f4a7527c3" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
---|
123 | <type></type> |
---|
124 | <definition>zeros</definition> |
---|
125 | <argsstring>(dimx, dimy) A *oRx oRw</argsstring> |
---|
126 | <name>zeros</name> |
---|
127 | <param> |
---|
128 | <type>dimx</type> |
---|
129 | </param> |
---|
130 | <param> |
---|
131 | <type>dimy</type> |
---|
132 | </param> |
---|
133 | <briefdescription> |
---|
134 | </briefdescription> |
---|
135 | <detaileddescription> |
---|
136 | </detaileddescription> |
---|
137 | <inbodydescription> |
---|
138 | </inbodydescription> |
---|
139 | <location file="/home/smidl/work/mixpp/matlab/KalmanSq.m" line="7"/> |
---|
140 | </memberdef> |
---|
141 | <memberdef kind="function" id="KalmanSq_8m_179b486dabafd57601aa38e2f44234d0d" prot="public" static="no" const="no" explicit="no" inline="no" virt="virtual"> |
---|
142 | <type>1, dimx</type> |
---|
143 | <definition>1,dimx zeros</definition> |
---|
144 | <argsstring>()</argsstring> |
---|
145 | <name>zeros</name> |
---|
146 | <briefdescription> |
---|
147 | </briefdescription> |
---|
148 | <detaileddescription> |
---|
149 | </detaileddescription> |
---|
150 | <inbodydescription> |
---|
151 | </inbodydescription> |
---|
152 | <location file="/home/smidl/work/mixpp/matlab/KalmanSq.m" line="8"/> |
---|
153 | </memberdef> |
---|
154 | </sectiondef> |
---|
155 | <briefdescription> |
---|
156 | </briefdescription> |
---|
157 | <detaileddescription> |
---|
158 | </detaileddescription> |
---|
159 | <programlisting> |
---|
160 | <codeline lineno="1"><highlight class="normal">function<sp/>[xtn,oRxn,ll]=KalmanSq(xt,yt,A,C,oRw,oRv,oRx)</highlight></codeline> |
---|
161 | <codeline lineno="2"><highlight class="normal"></highlight></codeline> |
---|
162 | <codeline lineno="3"><highlight class="normal">dimx<sp/>=<sp/>size(A,1);</highlight></codeline> |
---|
163 | <codeline lineno="4"><highlight class="normal">dimy<sp/>=<sp/>size(C,1);</highlight></codeline> |
---|
164 | <codeline lineno="5"><highlight class="normal"></highlight></codeline> |
---|
165 | <codeline lineno="6"><highlight class="normal">M<sp/>=<sp/>[oRv<sp/>C*oRx<sp/>zeros(dimy,dimx);</highlight></codeline> |
---|
166 | <codeline lineno="7"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>zeros(dimx,dimy)<sp/>A*oRx<sp/>oRw;</highlight></codeline> |
---|
167 | <codeline lineno="8"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>-yt'*inv(oRv')<sp/>xt'*inv(oRx')<sp/>zeros(1,dimx)];</highlight></codeline> |
---|
168 | <codeline lineno="9"><highlight class="normal"></highlight></codeline> |
---|
169 | <codeline lineno="10"><highlight class="normal">[q,r]=qr(M');</highlight></codeline> |
---|
170 | <codeline lineno="11"><highlight class="normal">al<sp/>=<sp/>r(1:2,end);</highlight></codeline> |
---|
171 | <codeline lineno="12"><highlight class="normal">be<sp/>=<sp/>r(3:4,end);</highlight></codeline> |
---|
172 | <codeline lineno="13"><highlight class="normal"></highlight></codeline> |
---|
173 | <codeline lineno="14"><highlight class="normal">oRxn<sp/>=<sp/>r(dimy+1:dimy+dimx,<sp/>dimy+1:dimy+dimx);</highlight></codeline> |
---|
174 | <codeline lineno="15"><highlight class="normal">xtn<sp/>=<sp/>oRxn'*be;</highlight></codeline> |
---|
175 | <codeline lineno="16"><highlight class="normal"></highlight></codeline> |
---|
176 | <codeline lineno="17"><highlight class="normal">ll=0;</highlight></codeline> |
---|
177 | <codeline lineno="18"><highlight class="normal">%keyboard</highlight></codeline> |
---|
178 | </programlisting> |
---|
179 | <location file="/home/smidl/work/mixpp/matlab/KalmanSq.m"/> |
---|
180 | </compounddef> |
---|
181 | </doxygen> |
---|