zpk {control}R Documentation

Create Zero-Pole-Gain Model.

Description

zpk creates the model for a system represented in zero-pole form

Usage

zpk(zero, pole, gain, Ts = NULL)

Arguments

zero

A vector

pole

A vector

gain

A vector

Ts

Sample time for discrete time systems

Details

zpk creates a model object for zero-pole systems.

Value

Returns a list object of 'zpk' class.

See Also

ss tf

Examples

sys <- zpk(NULL, c(-1,-1), 1)
sys <- zpk(c(1,2), c(3,4), 5)
sys <- zpk(c(1,2), c(3+1i,4+2i), 5)

## Not run:   Access individual sys elements as 
sys$z
sys$p
sys$k


[Package control version 0.2.5 Index]