# simulate

simulate a trajectory of a terminal region controller

## Contents

- Syntax
- Description
- Input Arguments
- Output Arguments
- See Also

## Syntax

[res,t,xSim,uSim] = simulate(obj,x0,tFinal,w)

## Description

Simulate a trajectory of a linear closed-loop system controlled with the terminal region controller corresponding to a terminal region computed with the zonotope approach for linear systems.

## Input Arguments

obj | instance of class computeTermRegNonlinSysOpt
x0 | initial state for simulation
tFinal | final time for simulation
w | array storing the disturbance trajectory (double arry of dimension: [nw,timeSteps])

## Output Arguments

res | results object storing the simulation data
t | vector storing the time points for the simulated states
xSim | array storing the simulated trajectory (double array of dimension: [`t`,nx])
uSim | array storing the applied control input (double array of dimension: [`t`,nu])

## See Also

computeTerminalRegionNonlinSys, computeTermRegNolinSysOptApproach @termRegNolinSysOptApproach/simulateRandom

© 2018-2026 I6 Technische Universität München `•` Website `•` License