Skip to content

Transforms a continuous transfer function to a discrete transfer function using the forward and backward Euler methods.

License

Notifications You must be signed in to change notification settings

tamaskis/c2d_euler-MATLAB

Repository files navigation

c2d_euler View Euler c2d Transformation (c2d_euler) on File Exchange

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×1 logical) true if transfer function should be normalized, false otherwise (defaults to false)

Outputs

  • Hz (1×1 tf or zpk): discrete transfer function

Examples and Additional Documentation

About

Transforms a continuous transfer function to a discrete transfer function using the forward and backward Euler methods.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages