The correct value of mu if the imaginary component is 0 is abs(Z) (e.g., Skogestad & Postlethwaite first edition, Eq. (8.75)).
I don't know how much of a pointless corner case this is (why bother computing structured singular values of 1x1 matrices?), but it seems fairly easy to fix by either checking for the imaginary component being exactly 0, or perhaps if the absolute value of the imaginary component is less than some tolerance times the absolute value of the real component.
AB13MD
gives a BOUND of 0 if Z is 1x1 and the uncertainty is real, even if the value of Z is in fact real; this is due tohttps://github.com/SLICOT/SLICOT-Reference/blob/8d2b5dd0e329f16f7ec9c89e6a949907834aaadc/src/AB13MD.f#L295-L301
The correct value of mu if the imaginary component is 0 is abs(Z) (e.g., Skogestad & Postlethwaite first edition, Eq. (8.75)).
I don't know how much of a pointless corner case this is (why bother computing structured singular values of 1x1 matrices?), but it seems fairly easy to fix by either checking for the imaginary component being exactly 0, or perhaps if the absolute value of the imaginary component is less than some tolerance times the absolute value of the real component.