Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 1.3 KB

README.md

File metadata and controls

28 lines (16 loc) · 1.3 KB

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