dsort
Sort discrete-time poles by magnitude.
📝Syntax
s = dsort(p)
[s, ndx] = dsort(p)
📥Input Arguments
Parameter Description
p p: a vector
📤Output Arguments
Parameter Description
s sorted vector by magnitude.
📄Description

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.

💡Examples
p = [-2.410 + 5.573i;
-2.410 - 5.573i;
1.503;         
-0.972;         
-2.590];  
[s, ndx] = dsort(p)    
  
    
🔗See Also
esort
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub