How significantly does the platform Matlab is run on affect numerical precision?

1 回表示 (過去 30 日間)
Andrew Cox
Andrew Cox 2015 年 3 月 24 日
編集済み: Chris McComb 2015 年 3 月 24 日
I'm running a differential corrections algorithm in Matlab on both OS X (10.10.2) and Linux Mint (Trusty 14.04.2, Linux 3.16.1). This algorithm uses ode113 to run a series of numerical integrations and inverts a few matrices that have a few hundred rows and columns. When I compare the output from the algorithm on the two different architectures, I get different results on the order of 1e-11. Both systems are 64-bit, and are running the same version of Matlab. I checked the output of eps on both systems, and they are the same at about 2.22e-16.
Is there some architectural difference between the Linux and OS X versions of Matlab that can explain this numerical difference?

回答 (1 件)

Chris McComb
Chris McComb 2015 年 3 月 24 日
編集済み: Chris McComb 2015 年 3 月 24 日
This difference could be a result of slightly different BLAS implementations.

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by