MATLAB: “Glitches” in transfer function

bodeplotMATLABtransfer function

Hi all,
I was developing a certain model which includes a lot of transfer functions, which are mainly 2×2 matrices. There is a fair deal of multiplication and division of these transfer function as well. I have noticed that in some of them I have sort of "glitches" which I have no idea how to avoid and correct. Have you seen similar behaviour or, even better, you have a solution for it? Below is the what I obtain when I draw the transfer function with "bodeplot" command
transfer_function.jpg

Best Answer

Precision could certainly be a problem, especiall considering the magnitudes of those numbers. (MATLAB retains full internal precision, even though the printed output is much less precise.)
See if using the minreal function helps.
Related Question