This bug has been fixed for Release 14 SP1 (R14SP1). For previous releases, please read below for any possible workarounds:
This is a bug with the RESIDUE function in MATLAB that our development staff is currently investigating.
If you have The Signal Processing Toolbox, you can use the RESIDUEZ function to work around this issue. There are no other known workarounds at this time.
Best Answer