separate

Purpose

Find stable and anti-stable parts of a given scalar transfer function.

Synopsis

[rs,ru]=separate(g);

Description

This program finds a stable system \(r_{s}(j\omega)\) and an anti-stable system \_{r}u(j\omega)\) (the direct terms of \(r_{s}\) and \(r_{u}\) must be equal) such that

$$ g(j\omega)=r_{s}(j\omega)+r_{u}(-j\omega),$$

where g is a given scalar system which has no repeated poles and no poles on the imaginary axis.

Example

>> g=tf(1,[1,-1,6]);

>> [rs,ru]=separate(g)

See also

factorize