complex conjugate nyquist in matlab

You can display the complex conjugate of the Nyquist plot by using the conj function in MATLAB. Here's an example code snippet:

main.m
sys = tf([1],[1 1]);
nyqplot(sys);
hold on;
nyqplot(conj(sys),'r');
legend('Nyquist Diagram','Complex Conjugate')
114 chars
6 lines

This code creates a transfer function sys with the numerator 1 and the denominator [1 1]. It then plots the Nyquist plot using the nyqplot function, and superimposes the plot of the complex conjugate of sys in red. Finally, it adds a legend to the plot so that you can differentiate between the Nyquist plot and its complex conjugate.

gistlibby LogSnag