Learn R Programming

gsignal (version 0.3-1)

polystab: Stabilize polynomial

Description

Stabilize the polynomial transfer function by replacing all roots outside the unit circle with their reflection inside the unit circle.

Usage

polystab(a)

Arguments

a

vector of polynomial coefficients, normally in the z-domain

Value

Vector of stabilized polynomial coefficients.

Examples

Run this code
# NOT RUN {
unstable <- c(-0.5, 1)
zplane(unstable, 1)
stable <- polystab(unstable)
zplane(stable, 1)

# }

Run the code above in your browser using DataLab