Home > src > demos > ungm_demo > ungm_f.m

ungm_f

PURPOSE ^

State transition function for the UNGM-model.

SYNOPSIS ^

function x_n = ungm_f(x,param)

DESCRIPTION ^

 State transition 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 % State transition 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 x_n = ungm_f(x,param)
0010 n = param(1);
0011 x_n = 0.5*x(1,:) + 25*x(1,:)./(1+x(1,:).*x(1,:)) + 8*cos(1.2*(n-1));  
0012 if size(x,1) > 1
0013    x_n = x_n + x(2,:);
0014 end    
0015     
0016

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