Main Content

LPV and LTV Models

Linear parameter-varying and linear time-varying models

Create, manipulate, analyze, and simulate linear parameter-varying (LPV) and linear time-varying models (LTV). These models can approximate nonlinear systems and allow you to efficiently apply linear design techniques to nonlinear models.

With the available functionality, you can:

  • Create LPV or LTV models from mathematical expressions.

  • Create LPV or LTV models that interpolate linearization results over a grid of operating conditions.

  • Simulate time response.

  • Specify signal-based connections between varying models and with LTI models.

  • Sample dynamics over a grid of parameters to obtain local LTI approximations.

  • Discretize and resample LPV or LTV models.

Functions

expand all

lpvssLinear parameter-varying state-space model
ltvssLinear time-varying state-space model
getTestValueAccess test values for validating data function
setTestValueModify test values for validating data function
sampleSample linear parameter-varying or time-varying dynamics
ssInterpolantBuild gridded LTV or LPV model from state-space data
stepStep response plot of dynamic system; step response data
impulseImpulse response plot of dynamic system; impulse response data
lsimPlot simulated time response of dynamic system to arbitrary inputs; simulated response data
initialSystem response to initial states of state-space model
RespConfigOptions for step or impulse responses
feedbackFeedback connection of multiple models
connectBlock diagram interconnections of dynamic systems
seriesSeries connection of two models
parallelParallel connection of two models
lftGeneralized feedback interconnection of two models (Redheffer star product)
c2dConvert model from continuous to discrete time
d2cConvert model from discrete to continuous time
d2dResample discrete-time model
xperm Reorder states in state-space models
sminrealStructural pole/zero cancellations

Blocks

expand all

LPV SystemSimulate Linear Parameter-Varying (LPV) systems
Varying Lowpass FilterButterworth filter with varying coefficients
Varying Notch FilterNotch filter with varying coefficients
PID ControllerContinuous-time or discrete-time PID controller
PID Controller (2DOF)Continuous-time or discrete-time two-degree-of-freedom PID controller
Varying Transfer FunctionTransfer function with varying coefficients
Varying State SpaceState-space model with varying matrix values
Varying Observer FormObserver-form state-space model with varying matrix values
Discrete Varying LowpassDiscrete Butterworth filter with varying coefficients
Discrete Varying NotchDiscrete-time notch filter with varying coefficients
Discrete PID Controller (2DOF)Discrete-time or continuous-time two-degree-of-freedom PID controller
Discrete PID ControllerDiscrete-time or continuous-time PID controller
Discrete Varying Transfer FunctionDiscrete-time transfer function with varying coefficients
Discrete Varying State SpaceDiscrete-time state-space model with varying matrix values
Discrete Varying Observer FormDiscrete-time observer-form state-space model with varying matrix values

Topics

LTV and LPV Model Basics

Using Analytic LTV and LPV Models

Using Gridded LTV and LPV Models