root/applications/dual/SIDP/smc29/PI_controler.m
@
1256
Revision 1255, 132 bytes (checked in by zimamiro, 14 years ago) |
---|
Line | |
---|---|
1 | function [x system]=PI_controler(eps,system,co) |
2 | S=system.S(co); |
3 | x=system.P(co)*eps+system.I(co)*(S+eps); |
4 | system.S(co)=S+eps; |
5 | end |
Note: See TracBrowser
for help on using the browser.