Complete the code to create a transfer function.
sys = tf([1], [1 3 2]);
The numerator of the transfer function is a scalar 1, representing a simple gain.
Complete the code to plot the root locus of the system.
rlocus([1]);The rlocus function requires the system transfer function as input.
Fix the error in the code to compute the characteristic equation.
char_eq = poly([1]);rlocus instead of system variable.s incorrectly.The poly function requires the system or its poles as input to get the characteristic polynomial.
Fill both blanks to create a root locus plot with grid and title.
rlocus([1]); grid [2];
grid off disables the grid.rlocus.Use the system variable for rlocus and turn the grid on with grid on.
Fill all three blanks to compute poles, zeros, and plot root locus with title.
poles = pole([1]); zeros = zero([2]); rlocus([3]); title('Root Locus Plot');
Use the system variable sys for poles, zeros, and root locus plotting.
