# simulate

simulate a trajectory of a terminal region controller

## Contents

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

## Syntax

trajectory = simulate(obj,y0,w,v)

## Description

Simulate a trajectory of a linear system controlled with the safety-preserving controller associated with a terminal region computed with the linSysContainment algorithm for random initial points inside the terminal region and randomly drawn disturbance values.

## Input Arguments

y0 | initial point for simulation (class: double)
w | matrix storing the values for the disturbances over time (dimension: [T.optsInternal.nw,T.Opts.N])
v | matrix storing the values for the measurement errors over time (dimension: [T.optsInternal.nv,T.Opts.N+1])

## Output Arguments

trajectory | struct containing all parts of the simulated trajectory, i.e., x, y, yexact, u, v, w, t

## See Also

`termRegNonlinSysLinApproach`, `simulateRandom`, `computeTermRegNonlinSysLinApproach`

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