root/applications/dual/SIDP/SIDPS/motor_sidps/PI_controler.m @ 1249

Revision 1249, 132 bytes (checked in by zimamiro, 14 years ago)
Line 
1function [x system]=PI_controler(eps,system,co)
2S=system.S(co);
3x=system.P(co)*eps+system.I(co)*(S+eps);
4system.S(co)=S+eps;
5end
Note: See TracBrowser for help on using the browser.