datafitting problem with lsqcurvefit

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

回答 (1 件)

Oleg Komarov
Oleg Komarov 2011 年 7 月 5 日

0 投票

Read better the documentation of Fun in the Input Arguments section.

2 件のコメント

Martin
Martin 2011 年 7 月 5 日
A link like this
http://www.mathworks.com/support/solutions/en/data/1-17YMU/index.html?solution=1-17YMU
or a similar advice would have helped me more, but thanks nevertheless.
Oleg Komarov
Oleg Komarov 2011 年 7 月 5 日
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.

この質問は閉じられています。

タグ

質問済み:

2011 年 7 月 5 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by