Hi,
Can anyone tell how to calculate the step response co-efficients from step test data?
and
how can i fix the prediction and control horizons?
thx in advance.

Function "filter" is digital filter which takes coefficients of discrete transfer function polynomial. To get digital filter approximation of continuous filter with transfer function "1/(1+T*s)" and sampling period Ts use coefficients p.a=exp(-Ts/T) ,b=[0,p.a], a=[1,-p.a].

thx, matija
actually i dont have any idea on how filter works, i tried to understand the help file in matlab, but i coudnt. Is there any other alternate for filter to this particular application.

Comment only