Different output for a program on different laptop

1 回表示 (過去 30 日間)
SHIVA SHANKER
SHIVA SHANKER 2023 年 2 月 15 日
回答済み: Sachin 2023 年 2 月 15 日
Hello all, I am using MATLAB R2021b in different Laptops( HP Notebook PC with windows 10 and Lenova idea pad with windows 11). When I am running a program getting different result. Is matlab ouput depends on OS and Laptop version?
Thank you.

回答 (1 件)

Sachin
Sachin 2023 年 2 月 15 日
Hi Shiva,
MATLAB performances are same in Windows, MAC, Linux , although differences can occur among platform for the following reason.
  1. MathWorks builds its products with a different compiler on each platform, and each has its own performance characteristics
2. The operating systems perform differently, especially in the case of disk- or graphics-intensive operations.
The different operating systems have Basic Linear Algebra Subprograms ( BLAS ) and Linear Algebra PACKage (LAPACK) compiled differently, and on MS Windows you may be using Intel's MLK. MS Windows is known for having a different version of MLK for different CPU architectures (AMD vs Intel for example, but even different families within a manufacturer.)
For this reason, you should not expect that the bottommost bits of a calculation will be the same on different systems.
For more information you can refer the following pages –
Regards
Sachin

Community Treasure Hunt

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

Start Hunting!

Translated by