Scilab 5.3.0
- Manual Scilab
- CACSD
- black
- bode
- chart
- evans
- gainplot
- m_circle
- nyquist
- routh_t
- sgrid
- zgrid
- abcd
- abinv
- arhnk
- arl2
- arma
- arma2p
- armac
- armax
- armax1
- arsimul
- augment
- balreal
- bilin
- bstap
- cainv
- calfrq
- canon
- ccontrg
- cls2dls
- colinout
- colregul
- cont_frm
- cont_mat
- contr
- contrss
- copfac
- csim
- ctr_gram
- dbphi
- dcf
- ddp
- des2ss
- des2tf
- dhinf
- dhnorm
- dscr
- dsimul
- dt_ility
- dtsi
- equil
- equil1
- feedback
- findABCD
- findAC
- findBD
- findBDK
- findR
- findx0BD
- flts
- fourplan
- frep2tf
- freq
- freson
- fspecg
- fstabst
- g_margin
- gamitg
- gcare
- gfare
- gfrancis
- gtild
- h2norm
- h_cl
- h_inf
- h_inf_st
- h_norm
- hallchart
- hankelsv
- hinf
- imrep2ss
- inistate
- invsyslin
- kpure
- krac2
- lcf
- leqr
- lft
- lin
- linf
- linfn
- linmeq
- lqe
- lqg
- lqg2stan
- lqg_ltr
- lqr
- ltitr
- macglov
- markp2ss
- minreal
- minss
- mucomp
- narsimul
- nehari
- nicholschart
- noisegen
- obs_gram
- obscont
- observer
- obsv_mat
- obsvss
- p_margin
- parrot
- pfss
- phasemag
- ppol
- prbs_a
- projsl
- reglin
- repfreq
- ric_desc
- ricc
- riccati
- rowinout
- rowregul
- rtitr
- sensi
- show_margins
- sident
- sm2des
- sm2ss
- sorder
- specfact
- ss2des
- ss2ss
- ss2tf
- st_ility
- stabil
- svplot
- sysfact
- syssize
- tf2des
- tf2ss
- time_id
- trzeros
- ui_observer
- unobs
- zeropen
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
ltitr
discrete time response (state space)
Calling Sequence
[X]=ltitr(A,B,U,[x0]) [xf,X]=ltitr(A,B,U,[x0])
Arguments
- A,B
real matrices of appropriate dimensions
- U,X
real matrices
- x0,xf
real vectors (default value=0 for
x0
))
Description
calculates the time response of the discrete time system
x[t+1] = Ax[t] + Bu[t].
The inputs ui
's are the columns of the U
matrix
U=[u0,u1,...,un];
x0
is the vector of initial state (default value : 0) ;
X
is the matrix of outputs (same number of columns as U
).
X=[x0,x1,x2,...,xn]
xf
is the vector of final state xf=X[n+1]
Examples
A=eye(2,2);B=[1;1]; x0=[-1;-2]; u=[1,2,3,4,5]; x=ltitr(A,B,u,x0) x1=A*x0+B*u(1) x2=A*x1+B*u(2) x3=A*x2+B*u(3) //....
<< lqr | CACSD | macglov >> |