Learn R Programming

EvalEst (version 2024.2-1)

generateSSmodel: Randomly generate a state space model

Description

Randomly generate a state space model.

Usage

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

Value

An SS TSmodel.

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.

Examples

Run this code
z <-  generateSSmodel(2,3,1)

Run the code above in your browser using DataLab