Something strange in MATLAB

1 visualización (últimos 30 días)
Saeid Bina
Saeid Bina el 15 de Nov. de 2019
Comentada: Matt J el 16 de Nov. de 2019
I have a code that optimizes three parameters and fits the data using Fmincon (including lower and upper bound). And I have three text data as three different input data. I just change the name of the load to try the same code for all cases.
Like this:
load TRT_mean.txt
to:
load TRT_mean_V1.txt
Until yesterday was good but now does not work properly and today's output and also iterations are totally different!
Is it possible software keeps previous results?

Respuestas (1)

Matt J
Matt J el 15 de Nov. de 2019
Editada: Matt J el 15 de Nov. de 2019
Chances are the issue is not in the code, but in the new data that you have supplied as input. For some reason, this input data set doesn't satisfy assumptions that previous data sets did.
  2 comentarios
Saeid Bina
Saeid Bina el 16 de Nov. de 2019
I am trying the same data and same boundries for the fmincon. I did last time and saved all itterations but today the function does not gave the same iteration and result.
Matt J
Matt J el 16 de Nov. de 2019
Then perhaps you are using a different version of Matlab? Something had to have changed.

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by