Transforms a continuous transfer function to a discrete transfer function using the forward and backward Euler methods.
Hz = c2d_euler(Hs,T,type)
Hz = c2d_euler(Hs,T,type,output,normalize)
Hs
(1×1'tf'
or'zpk'
): continuous transfer functionT
(1×1 double): sampling periodtype
(char
array):'forward'
or'backward
output
(OPTIONAL) (char
array): specifies output type ('tf'
or'zpk'
) (defaults to'tf'
)normalize
(OPTIONAL) (1×1logical
)true
if transfer function should be normalized,false
otherwise (defaults tofalse
)
Hz
(1×1tf
orzpk
): discrete transfer function
- See "EXAMPLES.mlx" or the "Examples" tab on the File Exchange page for examples.
- See "Continuous_to_Discrete_Transfer_Function_Transformation_Using_the_Euler_Methods.pdf" (also included with download) for the technical documentation.