Just use a shift register to pass old values back in and use a true-false selector.
Doug De Clue
ddeclue@bellsouth.net
electronic wrote in message news:<506500000008000000DA550000-1027480788000@exchange.ni.com>...
> Hi
> in my program, if calculated absolute of the e value in for loop is
> bigger than 0.05,m scalar value is multiplied by 0.02 in every
> iteration.
> İf smaller than 0.05, last m value is taken as a m value.
> How can I do this?
> İf possible could you give example program?
> Thanks.