Same code but different results
조회 수: 8 (최근 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?
댓글 수: 0
답변 (1개)
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!