Changeset 353 for doc/html/kalman.html
- Timestamp:
- 06/02/09 10:08:06 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/kalman.html
r323 r353 92 92 <span class="comment">// matrices</span> 93 93 mat A = eye(dx); 94 mat B = zeros(dx,du);94 mat B = <a class="code" href="group__specmat.html#g4c206300055f51390d03770ea5600da3" title="A Double vector of zeros.">zeros</a>(dx,du); 95 95 mat C = eye(dx); 96 mat D = zeros(dy,du);96 mat D = <a class="code" href="group__specmat.html#g4c206300055f51390d03770ea5600da3" title="A Double vector of zeros.">zeros</a>(dy,du); 97 97 mat Q = eye(dx); 98 98 mat R = 0.1*eye(dy); 99 99 <span class="comment">//prior</span> 100 100 mat P0 = 100*eye(dx); 101 vec mu0 = zeros(dx);101 vec mu0 = <a class="code" href="group__specmat.html#g4c206300055f51390d03770ea5600da3" title="A Double vector of zeros.">zeros</a>(dx); 102 102 <span class="comment">// Estimator</span> 103 103 KalmanCh KF; … … 106 106 <span class="comment">// Estimation loop</span> 107 107 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i=0;i<100;i++){ 108 KF.bayes( randn(dx+du));108 KF.bayes(<a class="code" href="group__randgen.html#g9ecf5af23567f51abc9af737fdbd872a" title="Generates a random Gaussian (0,1) variable.">randn</a>(dx+du)); 109 109 } 110 110 <span class="comment">//print results</span> … … 114 114 } 115 115 </pre></div> </div> 116 <hr size="1"><address style="text-align: right;"><small>Generated on T hu Apr 23 21:06:432009 for mixpp by 116 <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:14 2009 for mixpp by 117 117 <a href="http://www.doxygen.org/index.html"> 118 118 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>