root/applications/dual/SIDP/bakalarka/SIDPS/matlab/motor/PI_controler.asv @ 1351

Revision 1351, 121 bytes (checked in by zimamiro, 13 years ago)
Line 
1function x=PI_controler(eps,system,co)
2switch(co)
3    case 'i_q'
4S=system.S;
5x=P*eps+I*(S+eps);
6system.S=S+eps;
7end
Note: See TracBrowser for help on using the browser.