フィルターのクリア

윈도우와 맥버전 해석결과 차이

3 ビュー (過去 30 日間)
Jae-Gu Choi
Jae-Gu Choi 2022 年 9 月 14 日
編集済み: Dinesh 2023 年 6 月 7 日
같은 코드를 윈도우와 맥에서 해석시 결과값이 다르게 나옵니다.
어느값을 맞다고 봐야할까요 ?

回答 (1 件)

Dinesh
Dinesh 2023 年 6 月 7 日
編集済み: Dinesh 2023 年 6 月 7 日
Hi Jae-Gu Choi!
The issue you are facing might be related to the precision of floating-point calculations, which can sometimes lead to slight variations in the computed values.
To address this, you can try increasing the precision of your calculations by using the vpafunction, which performs variable-precision arithmetic.
For details about the vpa function please refer the following MATLAB documentation.
Also please make sure that Windows and MAC are both 32 or both 64 bit architecture. About which value to trust both values are equally trustworthy and mostly it depends on the specifications of your computers.
To see what might be going on, can you run
version -library_name
on your machine? This will let you know about which version of the library that is being used in the computers.
Hope this helps!
Thank you.

カテゴリ

Help Center および File ExchangeMATLAB 시작하기 についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!