Main Content

LPV and LTV Models

R2026b
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 (Since R2023a)
ltvssLinear time-varying state-space model (Since R2023a)
getTestValueAccess test values for validating data function (Since R2023a)
setTestValueModify test values for validating data function (Since R2023a)
findopCompute operating condition from specifications (Since R2023b)
fixInput Fix value of some inputs and delete them (Since R2024a)
psampleSample linear parameter-varying or time-varying dynamics (Since R2024a)
ssInterpolantBuild gridded LTV or LPV model from state-space data (Since R2023a)
stepStep response of dynamic system
impulseImpulse response plot of dynamic system; impulse response data
lsimCompute time response simulation data of dynamic system to arbitrary inputs
initialSystem response to initial states of state-space model
RespConfig(Not recommended) Options for step or impulse responses (Since R2023a)
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
sminrealEliminates structurally disconnected states, delays, and blocks

Blocks

expand all

LPV System blockLPV SystemSimulate linear parameter-varying (LPV) systems
LTV System blockLTV SystemSimulate linear time-varying (LTV) systems (Since R2024a)
Varying Delay block iconVarying DelayVarying delay with support for fixed delay and zero delay (direct feedthrough) (Since R2024a)
Varying Lowpass Filter blockVarying Lowpass FilterButterworth filter with varying coefficients
Varying Notch Filter blockVarying Notch FilterNotch filter with varying coefficients
PID Controller blockPID ControllerContinuous-time or discrete-time PID controller
PID Controller (2DOF) blockPID Controller (2DOF)Continuous-time or discrete-time two-degree-of-freedom PID controller
Varying Transfer Function blockVarying Transfer FunctionTransfer function with varying coefficients
Varying State Space blockVarying State SpaceState-space model with varying matrix values
Varying Observer Form blockVarying Observer FormObserver-form state-space model with varying matrix values
Varying Discrete Delay block iconDiscrete Varying DelayDiscrete varying delay with support for fixed delay and zero delay (direct feedthrough) (Since R2024a)
Discrete Varying Lowpass blockDiscrete Varying LowpassDiscrete Butterworth filter with varying coefficients
Discrete Varying Notch blockDiscrete Varying NotchDiscrete-time notch filter with varying coefficients
Discrete PID Controller (2DOF) blockDiscrete PID Controller (2DOF)Discrete-time or continuous-time two-degree-of-freedom PID controller
Discrete PID Controller blockDiscrete PID ControllerDiscrete-time or continuous-time PID controller
Discrete Varying Transfer Function blockDiscrete Varying Transfer FunctionDiscrete-time transfer function with varying coefficients
Discrete Varying State Space blockDiscrete Varying State SpaceDiscrete-time state-space model with varying matrix values
Discrete Varying Observer Form blockDiscrete 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

Featured Examples