MATLAB 2020b vs earlier versions

조회 수: 2 (최근 30일)
Alex Tekin
Alex Tekin 2020년 9월 23일
답변: Walter Roberson 2020년 9월 23일
Dear All,
I am attaching two MATLAB codes to this message, and when I run "Version 15" it produces for "eta" result equal to about 0.08 in MATLAB2020b. But in earlier versions of MATLAB the result is about 0.13.
I was wondering why the difference and if there is any possible problem with the most recent MATLAB release.
Thank you for your help in advance. I am attaching the two codes to this message.

채택된 답변

Walter Roberson
Walter Roberson 2020년 9월 23일
The version with about 0.13 is not an especially good fit; it has a sum-of-squared-errors of about 0.06 for the fsolve.
You can do better near 0.08. In particular, the following x has a SSE of about 1E-16 for the fsolve:
2.41822013449192763, 0.393312505963807846, 0.463898429336224605, 1.00253486482090381, 0.345768760645462359, 0.290239202125991747, 1.37204767772094183, 0.0843373491237134065, 0.927918117994239955

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by