Home > src > demos > ekf_sine_demo > ekf_sine_h.m

ekf_sine_h

PURPOSE ^

Measurement model function for the random sine signal demo

SYNOPSIS ^

function Y = ekf_sine_h(x,param)

DESCRIPTION ^

 Measurement model function for the random sine signal demo

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % Measurement model function for the random sine signal demo
0002 
0003 % Copyright (C) 2007 Jouni Hartikainen
0004 %
0005 % This software is distributed under the GNU General Public
0006 % Licence (version 2 or later); please refer to the file
0007 % Licence.txt, included with the software, for details.
0008 
0009 function Y = ekf_sine_h(x,param)
0010    f = x(1,:);
0011    a = x(3,:);
0012 
0013    Y = a.*sin(f);
0014    if size(x,1) == 7
0015       Y = Y + x(7,:);
0016    end

Generated on Fri 12-Aug-2011 15:15:16 by m2html © 2005