Euler c2d Transformations (c2d_euler)
Version 2.2.2.0 (185 KB) by
Tamas Kis
Transforms a continuous transfer function to a discrete transfer function using the forward and backward Euler methods.
c2d_euler
Transforms a continuous transfer function to a discrete transfer function using the forward and backward Euler methods.
Syntax
Hz = c2d_euler(Hs,T,type)
Hz = c2d_euler(Hs,T,type,output,normalize)
Inputs
-
Hs
(1×1'tf'
or'zpk'
): continuous transfer function -
T
(1×1 double): sampling period -
type
(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
)
Outputs
-
Hz
(1×1tf
orzpk
): discrete transfer function
Examples and Additional Documentation
- 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.
Cite As
Tamas Kis (2024). Euler c2d Transformations (c2d_euler) (https://github.com/tamaskis/c2d_euler-MATLAB/releases/tag/v2.2.2), GitHub. Retrieved .
MATLAB Release Compatibility
Created with
R2023a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.