Date: Dec 1, 2012 7:26 AM
Author: mado
Subject: Re: algebraic loop error

"mado " <elec_mnf@yahoo.com> wrote in message <k9bbgj$er1$1@newscl01ah.mathworks.com>...
> .
>
> error message came even if i correct the if condition to
>
> if Pn>Pm
> Ip = Ipold+K1 *e
> else
> Ip = Ipold+K2 *e
> end
> but this time with this line Ipold =Ip or without .