Filter löschen
Filter löschen

MATLAB 2020b vs earlier versions

2 Ansichten (letzte 30 Tage)
Alex Tekin
Alex Tekin am 23 Sep. 2020
Beantwortet: Walter Roberson am 23 Sep. 2020
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.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 23 Sep. 2020
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

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by