s = dsort(p)
[s, ndx] = dsort(p)
| Parameter | Description |
|---|---|
| p | p: a vector |
| Parameter | Description |
|---|---|
| s | sorted vector by magnitude. |
dsort arranges the discrete-time poles within the vector p in a descending order based on their magnitude, with unstable poles taking precedence at the beginning of the sorted list.
p = [-2.410 + 5.573i;
-2.410 - 5.573i;
1.503;
-0.972;
-2.590];
[s, ndx] = dsort(p)
| Version | Description |
|---|---|
| 1.0.0 | initial version |