LPVSTEP - Parameter dependent step response for LPV systems

Contents

Syntax

  lpvstep(SYS,PTRAJ)
  [Y,T,X,U,PTRAJOUT] = lpvstep(SYS,PTRAJ)
  [Y,T,X,U,PTRAJOUT] = lpvstep(SYS,ptraj,TFINAL)
  [Y,T,X,U,PTRAJOUT] = lpvstep(SYS,ptraj,T)

Description

[Y,T,X,U,PTRAJOUT] = lpvstep(SYS,PTRAJ) computes the parameter dependent step response of SYS. SYS is a LPV system with Ny outputs, Nx states, Nu inputs, and N independent variables IVName1,...,IVNameN. PTRAJ is a struct which defines the time-variation of the parameters (independent variables) in SYS. The field PTRAJ.time contains a sorted row vector of time-values. PTRAJ must also have a field for each independend variable in SYS, such that PTRAJ.IVName1, ... ,PTRAJ.IVNameN each contain a row vector of parameter trajectories corresponding to PTRAJ.time. The output Y is a length(T)-by-NY-by-Nu matrix such that Y(:,i,j) corresponds to the i-th output of SYS due to a step command in the j-th input channel. Similarly X is a length(T)-by-Nx-by-Nu matrix describing the state trajectories of SYS, U is a length(T)-by-Nu-by-Nu matrix describing the trajectory of the inputs to SYS, and T is a column vector of time values corresponding to Y, X and U. PTRAJOUT contains the corresponding parameter trajectories.

lpvstep(SYS,PTRAJ) generates plots of the parameter dependent step response of SYS.

[Y,T,X,U,PTRAJOUT] = lpvstep(SYS,ptraj,TFINAL) simulates the step response up to the time TFINAL.

[Y,T,X,U,PTRAJOUT] = lpvstep(SYS,ptraj,T) simulates the step response using a user supplied time vector T.