# algebraic loop Classic List Threaded 3 messages Open this post in threaded view
|

## algebraic loop hi, i'm using scilab scicos 4.2 : wonderfull unfortunatly i want to use a recursive form s(t)=e(t)+s(t-1) for this, i use a sample and hold and a loop and i get an error "algebraic loop" i understand, but how can i simulate this recursive form ? thanks a lot -- Bruno Chaumontet http://bruno.chaumontet.net[hidden email] Dear Mr. Chaumontet I recommend you to use a Z transform. s(t) = s(t-1) + e(t) -> S(z) = S(z)*(1/z) + E(z) -> S(z) = (z/(z-1))*E(z) Use the discrete transfer function of SCICOS, where e(t) is the input and s(t) is the output. Don't forget to select an appropiate sample time. Good luck. Raymundo Cordero Perú thanks a lot 2008/1/7, Cordero R. <[hidden email]>: > Dear Mr. Chaumontet > I recommend you to use a Z transform. > s(t) = s(t-1) + e(t) -> S(z) = S(z)*(1/z) + E(z) -> S(z) = (z/(z-1))*E(z) > Use the discrete transfer function of SCICOS, where e(t) is the input and > s(t) is the output. > Don't forget to select an appropiate sample time. > Good luck. > Raymundo Cordero > Perú -- Bruno Chaumontet http://bruno.chaumontet.net[hidden email]