cov in R2009b vs. R2010a
1 次查看（过去 30 天）
I used the cov function in R2009b and in R2010a and it returned different results.
I am aware of the fact that there are multiple functions named cov in Matlab, depending on your toolboxes; both functions are in the directory matlab/datafun
The revision date on both functions is $Revision: 18.104.22.168 $ $Date: 2009/03/16 22:17:40 $.
What could be producing this discrepancy?
edit: R2009b is on a Mac (OS X 10.5.8); R2010a is on a PC (7).
Walter Roberson 2011-6-29
This is not entirely unexpected. The BLAS toolboxes are optimized for specific processors, so differences in processors can result in differences in calculations. Likewise, differences in the JIT of the different versions of MATLAB can result in the same code producing different results.
If the differences are small relative to the results, the situation is probably normal.