Any updates on getting this easily going on Win64 with R2011 or R2012? The pre-compiled binaries are DLLs, I can't seem to load them with newer Matlabs, while the compilation seems to need .def files (libmex.def, libmat.def, etc.) which are unavailable in newer Matlabs.
To plot just circles with "r" radius, pass in eye(2)*(r)^-2 as the covariance matrix. A plot function like this shouldn't change the plot more than it needs to: I disabled the "grid" and "axis" commands. It should also return handles to the plot objects it creates: I had to add this as well. But this code gets me 95% there, thanks.
Use "x=bsxfun(@plus, x, rmean)" instead of repmat.
11 Dec 2010
XSum
Fast Sum with error compensation
Author: Jan Simon
Hints on compiling in Linux would be appreciated, from Jan or others. After redefining strnicmp with strcmp, gcc 4.4.1 fails because of undeclared symbols, PC_24, PC_64, PC_53, _control87, and MCW_PC. Thanks.
01 Sep 2010
error_ellipse
Plot an error ellipse depicting confidence interval given a covariance matrix.
Author: AJ Johnson
Jenn Risk: just use det(CovMatrix) for area/volume.
M ChC, Volkan Ozturk:
figure; handle(1)=error_ellipse(A); hold on; handle(2)=error_ellipse(B); handle(3)=error_ellipse(C); set(handle(2), 'color','r', 'linestyle',':'); set(handle(3), 'color','k', 'linestyle','--');