https://nl.mathworks.com/help/control/ref/dynamicsystem.rlocus.html
rlocus - Root locus of dynamic system - MATLAB
This MATLAB function calculates the root locus of SISO model sys and returns the resulting vector of feedback gains k and corresponding complex root locations...
rootlocusdynamicsystemmatlab