generateSSmodel {dse2} | R Documentation

## Randomly generate a state space model

### Description

Randomly generate a state space model.

### Usage

        generateSSmodel(m,n,p, stable=FALSE)

### Arguments

`n,m,p` | Input, state and output dimensions.
`stable` | TRUE or FALSE indicating if the model must be stable.

### Details

Randomly generate a state space model. If stable is true then the largest root will have magnitude less than 1.0.

### Value

An SS TSmodel.

### Examples

    z <-  generateSSmodel(2,3,1)

[Package Contents]