defines a simple 2nd order stable system with a control and a noise input ONLY THE CONSTRUCTOR SHOULD CALL THIS PRIVATE FUNCTION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: model_standard_system_noparams defines a simple 2nd order stable system with a control and a noise input CALL: [sys, VERSION] = model_standard_system_noparams ***** There are no parameters ***** VERSION: $Id: $ HISTORY: 01-04-2008 M Weyrich 23-04-2008 A Grynagier %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0001 function [sys, VERSION] = model_standard_system_noparams 0002 % defines a simple 2nd order stable system with a control and a noise input 0003 % ONLY THE CONSTRUCTOR SHOULD CALL THIS PRIVATE FUNCTION 0004 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0005 % 0006 % DESCRIPTION: model_standard_system_noparams defines a simple 2nd order 0007 % stable system with a control and a noise input 0008 % 0009 % CALL: [sys, VERSION] = model_standard_system_noparams 0010 % 0011 % ***** There are no parameters ***** 0012 % 0013 % VERSION: $Id: $ 0014 % 0015 % HISTORY: 01-04-2008 M Weyrich 0016 % 23-04-2008 A Grynagier 0017 % 0018 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0019 VERSION = '$Id:$'; 0020 utils.helper.msg(utils.const.msg.MNAME, ['running ', mfilename]); 0021 0022 %% creating ssm 0023 sys = ssm(); 0024 0025 sys.name = 'standard test system'; 0026 0027 sys.amats = {[0 1 ; -0.04 -0.1]}; 0028 sys.cmats = {[1 0]}; 0029 sys.bmats = {[0;1] [0 0; 1 0]}; 0030 sys.dmats = {1 [0 1]}; 0031 sys.ssini = {[1; 0]}; 0032 sys.timestep = 0; 0033 0034 sys.ssnames = {'standard test system'}; 0035 sys.ssvarnames = {{'x' 'xdot'}}; 0036 sys.ssisused = true; 0037 0038 sys.inputnames = {'U' 'N'}; 0039 sys.inputvarnames = {{'Fu'} {'Fn' 'On'}}; 0040 sys.inputisused = true(1,2); 0041 0042 sys.paramnames = {}; 0043 sys.paramvalues = []; 0044 sys.paramsigmas = []; 0045 0046 sys.outputnames = {'Y'}; 0047 sys.outputvarnames = {{'y'}}; 0048 sys.outputisused = true; 0049 end