필터 지우기
필터 지우기

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 CenterFile Exchange에서 Programming에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by