source: projects/ckbs/trunk/test/nonlinear_ok_simple_h.m @ 95

Last change on this file since 95 was 35, checked in by bradbell, 11 years ago

Revmove reference to gpl2.txt and further shorten copyright and license statement

File size: 836 bytes
Line 
1% -------------------------------------------------------------------
2% ckbs: Constrained Kalman-Bucy Smoother Program: Copyright (C) 2006
3% Authors: Bradlely Bell:        bradbell at washington dot edu
4%          Gianluigi Pillonetto: giapi at dei dot unipd dot it
5% License: GNU General Public License Version 2
6% -------------------------------------------------------------------
7% $begin nonlinear_ok_simple_h.m$$ $newlinech %$$
8%
9% $spell
10%       ckbs
11%       hk
12%       xk
13%       sqrt
14%       dr
15% $$
16%
17% $section Example Measurement Function: nonlinear_ok_simple_h$$
18%
19% $head Source Code$$
20% $newlinech $$ $codep
21function [hk, Hk] = nonlinear_ok_simple_h(k, xk)
22        global nonlinear_ok_simple_m
23        %
24        n        = size(xk, 1);
25        m        = nonlinear_ok_simple_m;
26        hk       = xk(1:m);
27        Hk       = [ eye(m) , zeros(m, n-m) ];
28        return
29end
30% $$ $newlinech %$$
31% $end
Note: See TracBrowser for help on using the repository browser.