![]() 17 // 18 //u can be: 19 // - a function 20 // =u(t) 21 // - a list 22 // list(ut,parameter1.,parametern) such that 23 // inputs=ut(t,parameter1.,parametern) 24 // - the character string 'impuls' for impulse response calculation 25 // (here sl is assumed SISO without direct feedthrough and x0=0) 26 // - the character string 'step' for step response calculation 27 // (here sl is assumed SISO without direct feedthrough and x0=0) 28 //dt is a vector of instants with dt(1) = initial time 29 // that is: x0=x 30 // dt(1) 31 // 32 //y matrix such that: 33 // y= 34 // dt(1) dt(2) dt(n) 35 //x matrix such that: 36 // x= 37 // dt(1) dt(2) dt(n) 38 // 39 //See also: 40 // dsimul flts ltitr rtitr ode impl 41 //! 42 43 = argn ( 0 ) 44 // 45 if rhs ) then 48 error ( msprintf ( _ ( "%s: Wrong type for input argument #%d: %s data structure expected.\n" ), "csim", 3, "syslin" ) ) 49 end 50 if sltyp = ' rational' then sl = tf2ss ( sl ), end 51 if sl. 16 // u is the control and x0 the initial state. 15 // sl is assumed to be a continuous-time system. ![]() The terms 7 // are also available at 8 // 9 10 11 function = csim (u,dt,sl,x0,tol ) 12 //Syntax: 13 // ]=csim(u,dt,sl,) 14 // simulation of the controlled linear system sl. 5 // This source file is licensed as described in the file COPYING, which 6 // you should have received as part of this distribution. Raw file 1 // Scilab ( ) - This file is part of Scilab 2 // Copyright (C) INRIA - 3 // 4 // This file must be used under the terms of the CeCILL.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |