datafitting problem with lsqcurvefit
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
Hello!
I´ve got a problem with the lsqcurvefit command. The command wants, as I have understood it, the xdata and ydata to be 1xn - vectors, but my as I want to optimize the parameters of a function R^2->R which depends of two variables and 3 paramters, my experimental data is a 3 tupel (input1, input2, output). Is there a possibility to use lsqcurvefit nevertheless?
Regards, Martin
Réponses (1)
Oleg Komarov
le 5 Juil 2011
0 votes
Read better the documentation of Fun in the Input Arguments section.
2 commentaires
Martin
le 5 Juil 2011
Oleg Komarov
le 5 Juil 2011
Thank you, I didn't know of that solution, I'll keep it mind for the next time.
And don't misunderstand me, you asked basically if it was possible to use data as a matrix and I answered that question.
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!