필터 지우기
필터 지우기

how to simulate experimental data with a poly-function

조회 수: 2 (최근 30일)
Zine
Zine 2013년 1월 26일
how to simulate experimental data with a poly-function (F+G*T...; F G T are non linear functions) and estimate parameters (F(a,b,c,...,x); a b c are parameters and x is the variable Load y(x) with x to MATLAB, and I have the general form y=F+G*T.... with parameters inside, so I want to fit y of the model to experimental data and extract the values of the parameters from this mach
  댓글 수: 2
Zine
Zine 2013년 2월 7일
hellow every body, In my poly-function the parameters are vectors and not scalars, can any body tell me how to find those vectors; I just remind that I have experimental xdata and ydata and I want to find the parameters a,b,c,... to fit y=poly-function(xdata,a,b,c,...) so at each xdata(i) point I will have coresponding a(i), b(i), c(i),... and all this using least square fitting Thanks in advance
Matt J
Matt J 2013년 2월 8일
It doesn't change anything that your parameters are now scalars and not vectors. When you use LSQCURVEFIT, you pass all of your parameters bundled into a vector [a,b,c,...] anyway.

댓글을 달려면 로그인하십시오.

채택된 답변

Matt J
Matt J 2013년 1월 27일
Use LSQCURVEFIT if you've got it. Or, one of the functions in the Curve Fit Toolbox.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by