pole: Obtain Poles for a System

Description Usage Arguments Details Value Examples

View source: R/poles.R

Description

This function obtains the poles for a given system

Usage

1
pole(sys)

Arguments

sys

LTI system of tf, ss and zpk class

Details

pole returns the poles for a given system either a transfer function, state-space or zero-pole models. If sys is a transfer function, it computes the roots of the denominator If sys is a state-space object, it computes the eigenvalues of the A matrix. If sys is a zpk object, it retrieves the poles from the object.

Value

The function returns a column matrix containing the poles for the given system

Examples

1
2
3
H1 <- tf(c(2, 5, 1),c(1, 3, 5))
pole(zpk(NULL, c(-1,-1), 1))
pole(ssdata(tf(1, c(1,2,1))))

benubah/control documentation built on May 10, 2020, 1:38 a.m.