MATLAB: Nyquist representation of a complex transfer function matrix

complexnyquistrealtransfer functionvibration

Hello, i am trying to get this particular representation of a complex transfer function matrix. The problem is, as i am working with a symbolic varible, i do not how to fit the good input argument into the nyquist() function. Here is my program.
for i=1:10
gamma(i)=-real(s(i))/wo(i);
end
for l=1:10
D(l,l)=(wo(l)^2-w^2+2*gamma(l)*wo(l)*w);
end
H=subs(Z*inv(D)*conj(Z)');
w=0:1:12;
nyquist(subs(H(1,1)),w);
Where wo and gamma are real numbers and Z is a 10×10 matrix with complex numbers. The transfer function is named by H and the symbolic variable is w and from this point i do not know what else to do to get this representation.

Best Answer

Hi Javier,
Assuming w is a vector of doubles, you can use the "double" function, such as:
>> double (w)
To convert the symbol "w" into its double-precision numeric value of frequency vectors.
More details can be found below:
https://www.mathworks.com/help/symbolic/double.html