フィルターのクリア

How to find the best fit coefficients for an equation which is dependant on more than one varying input parameters?

2 ビュー (過去 30 日間)
Hi
I am working on finding the coefficients of an equation which is dependant on 3 parameters.
Example: y(t)=exp(a(t)).x(1)+b(t).x(2)+exp(c(t)).exp(c(t)).x(3);
a,b,c are parameters and x(1),x(2),x(3) are coefficients. Parameters are form of a matrix. I need to find the best fit for the coefficients x(1),x(2),x(3).
which function should I use?
Thanks in advance
  4 件のコメント
Walter Roberson
Walter Roberson 2016 年 5 月 26 日
In the code fragment
b(t).x(2)
what does the character between the ")" and the "x" mean?
Nadia A
Nadia A 2016 年 5 月 26 日
Yes it is multiplication that I meant here. Sorry for the confusion.
I am not able to use the curve fitting toolbox. Shows this error when I tried using it:
To use 'fittype', you might need: fittype - Curve Fitting Toolbox
Is ther any other function I can use to find the coefficients?
Thanks

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2016 年 5 月 26 日
If you have the curve fitting toolbox, use fittype() to create the fit parameters and then use fit()
  7 件のコメント
Muhammet Mammetkuliyev
Muhammet Mammetkuliyev 2019 年 8 月 13 日
Hi Nadia
so how did you solve this fitting problem? I have the same type of fitting to do but dont know how to do it.
thanks
Muhammet Mammetkuliyev
Muhammet Mammetkuliyev 2019 年 8 月 14 日
I am wondering what if equation is not linear in x1, x2 and x3 which are fit parameters?
specifically, I have such equation that I want to fit.
y(t) = abs( a(t)*(x1*exp(1i*x2)+x3/(t-x4+ix5)) )^2
How can I proceed?

サインインしてコメントする。

その他の回答 (1 件)

Muhammet Mammetkuliyev
Muhammet Mammetkuliyev 2019 年 8 月 14 日
and one like this
y(t) = abs( x1*exp(1i*x2)+a(t)(x3/(t-x4+ix5)) + b(t)*(x6/(t-x7+ix8)))^2

カテゴリ

Help Center および File ExchangeLinear and Nonlinear Regression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by