Main Content

Convert Signals Between Continuous Time and Discrete Time

The sldemo_fuelsys model shows how to use the Rate Transition block to convert signals between continuous time and discrete time.

In the To Controller subsystem, the Rate Transition block converts the signal from continuous time to discrete time. This discrete-time signal can then be processed by the fuel_rate_control subsystem.

The To Plant subsystem uses the Rate Transition block to convert the discrete-time output of the fuel_rate_control subsystem back to continuous time.

Related Topics