Home > src > demos > ungm_demo > ungm_h.m

ungm_h

PURPOSE ^

Measurement model function for the UNGM-model.

SYNOPSIS ^

function y_n = ungm_h(x_n,param)

DESCRIPTION ^

 Measurement model function for the UNGM-model.

 Copyright (C) 2007 Jouni Hartikainen

 This software is distributed under the GNU General Public 
 Licence (version 2 or later); please refer to the file 
 Licence.txt, included with the software, for details.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % Measurement model function for the UNGM-model.
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_n = ungm_h(x_n,param)
0010 y_n = x_n(1,:).*x_n(1,:) ./ 20;
0011 if size(x_n,1) == 3
0012    y_n = y_n + x_n(3,:);
0013 end

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