Specifications

Table Of Contents
dsort
16-65
16dsort
Purpose Sort discrete-time poles by magnitude
Syntax s = dsort(p)
[s,ndx] = dsort(p)
Description dsort sorts the discrete-time poles contained in the vector p in descending
order by magnitude. Unstable poles appear first.
When called with one lefthand argument,
dsort returns the sorted poles in s.
[s,ndx] = dsort(p) also returnsthevector ndx containingtheindicesusedin
the sort.
Example Sort the following discrete poles.
p =
-0.2410 + 0.5573i
-0.2410 - 0.5573i
0.1503
-0.0972
-0.2590
s = dsort(p)
s =
-0.2410 + 0.5573i
-0.2410 - 0.5573i
-0.2590
0.1503
-0.0972
Limitations The poles in the vector p must appear in complex conjugate pairs.
See Also eig Calculate eigenvalues and eigenvectors
esort, sort Sort system poles
pole Compute system poles
pzmap Pole-zero map
zero Compute (transmission) zeros