ssdata {control}R Documentation

Retrieve State-space data

Description

ssdata retrieves the model for a state-space system from a sys object

Usage

ssdata(sys1)

Arguments

sys1

an LTI system object of tf, ss or zpk classes

Details

ssdata retrieves a model object for a state-space system, from a sys object of tf, ss and zpk classes

Value

Returns a list object of ss class containing A, B, C and D matrices

See Also

ss tfdata zpkdata

Examples

sys1 <- tf(c(1), c(1,2,1))
 ssdata(sys1)
 A <- rbind(c(-2, -1), c(1,0)); B <- rbind(1,0);
 C <- cbind(0,1); D <- 0;
 sys2 <- ss(A,B,C,D)
 ssdata(sys2)
 ss2zp(ssdata(zpk(NULL, c(-1,-1), 1)))


[Package control version 0.2.5 Index]