root/applications/dual/SIDP/SIDPS/motor_sidps/get_next.asv
@
1327
Revision 1249, 214 bytes (checked in by zimamiro, 14 years ago) |
---|
Line | |
---|---|
1 | function x1=get_next(system,x,u) |
2 | A=[system.a 0 system.b*sin(x(4)) 0 |
3 | 0 system.a -system.b*cos(x(4)) 0 |
4 | -system.e*sin(x(4)) system.e*cos(x(4)) system.d 0 |
5 | 0 0 system.deltat 1]; |
6 | x1=A*x+ system.B*u; |
7 | |
8 | end |
Note: See TracBrowser
for help on using the browser.