bug with eig in Matlab R2012a
On line 197 of matlab/identification_analysis.m
, we have [V,D,W]=eig(cc);
. In older versions of Matlab, eig only has two output arguments and hence this causes an error. To calculate W
, the left eigenvectors of cc, the documentation recommends [W,junk] = eig(cc.'); W = conj(W)
separately.