MATLAB: Nyquist plot from frequency response data

frequency response dataMATLABnyquist plot

Hi all,
I have a complex vector containing the response of a particular system to frequencies, given in another vector. How do make a bode plot? If I use the nyquist() function, I get the following warning message.
The numerator or denominator of this transfer function has complex-valued coefficients.
Therefore, I'm really not sure if the plot is correct or not.
Thanks

Best Answer

See the documentation on Data Preparation (link) for the System Identification Toolbox.