ctrb function

Form Controllability Matrix

Form Controllability Matrix

ctrb forms the controllability matrix.

ctrb(A, B)

Arguments

  • A: State matrix, A
  • B: State matrix, B

Returns

Returns the controllability matrix.

Details

ctrb ctrb(a, b) returns the controllability matrix, [B AB A^2B ... A^(n-1)B]. If the Controllability matrix has full row rank, the system is controllable.

Examples

a1 <- rbind(c(0,0),c(1,-3)) b1 <- rbind(-2,0) ctrb(a1, b1)

See Also

obsv

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

Useful links