Curve fit using lsq function or something else ?

6 次查看(过去 30 天)
I have 3 sets of data, that be set-1,set-2,set-3. I have to model set-1 using set-2 and set-3, such that set-1= a* set2 + (1-a)* [damped harmonic convolution-Q] of set-3; There are 2 variables a and Q. I wrote the code for the convolution. I want to know how can I minimise the function effectively using Matlab. Currently I generate random values for a and Q in a range and look for the minimum, however this is very inefficient. Is there a better way ?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by