Same code but different results

조회 수: 8 (최근 30일)
朝捷 侯
朝捷 侯 2022년 4월 30일
답변: Walter Roberson 2022년 4월 30일
I run the same code on both matlab online version and PC version(2021b), but get different output. The PC version works good in every iteration but the online version output "Nan" just after few iterations. Does anyone have any idea why this is happening?

답변 (1개)

Walter Roberson
Walter Roberson 2022년 4월 30일
MATLAB Online is one release newer (R2022a)
MATLAB Online is Linux based, and uses different high-performance Math libraries than PC uses.
It might be the case that you are using matrices that are badly conditioned, but which might be permitted through in your PC but rejected in MATLAB Online.

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by