ss function

Create State-space Model.

Create State-space Model.

ss creates the model for a system represented in state-space form

ss(A, B, C, D, Ts = NULL)

Arguments

  • A: An n x n matrix
  • B: An n x m matrix
  • C: An p x n matrix
  • D: An p x m matrix
  • Ts: Sample time for discrete time systems

Returns

Returns a list object of 'ss' class.

Details

ss creates a model object for state-space systems.

Examples

A <- rbind(c(-2, -1), c(1,0)) B <- rbind(1,0) C <- cbind(0,1) D <- 0; sys <- ss(A,B,C,D) ## Not run: OR sys <- ss(c(-2,-1,1,0), c(1,0), c(0,1), 0) ## Not run: Access individual state-space sys elements as sys$A sys$B sys$C sys$D

See Also

tf zpk

  • Maintainer: Ben C. Ubah
  • License: GPL-2
  • Last published: 2017-12-12

Useful links