| Contents | Index |
opts = d2cOptions
opts = d2cOptions(Name,Value)
opts = d2cOptions returns the default options for d2c.
opts = d2cOptions(Name,Value) creates an option set with the options specified by one or more Name,Value pair arguments.
'method' |
Discretization method, specified as one of the following values:
Default: 'zoh' | ||||||||
'PrewarpFrequency' |
Prewarp frequency for 'tustin' method, specified in rad/TimeUnit, where TimeUnit is the time units, specified in the TimeUnit property, of the discrete-time system. Specify the prewarp frequency as a positive scalar value. A value of 0 corresponds to the 'tustin' method without prewarp. Default: 0 |
For additional information about conversion methods, see Continuous-Discrete Conversion Methods.
Convert a discrete-time model to continuous-time using the 'tustin' method with frequency prewarping.
Create the discrete-time transfer function
![]()
hd = tf([1 1], [1 1 1], 0.1); % 0.1s sampling time
To convert to continuous-time, use d2cOptions to create the option set.
opts = d2cOptions('Method', 'tustin', 'PrewarpFrequency', 20);
hc = d2c(hd, opts);You can use opts to resample additional models using the same options.
[1] Franklin, G.F., Powell,D.J., and Workman, M.L., Digital Control of Dynamic Systems (3rd Edition), Prentice Hall, 1997.

Learn more about resources for designing, testing, and implementing control systems.
Get free kit| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |