Fitting 2 data sets simultaneously with two different functions that have some shared parameters
이전 댓글 표시
I have a global fit that I am trying to do. Where I have two data sets. dataset A and dataset B. Both A and B are vectors of size 85X1. I am trying to fit them using exponential fits. The two fit expressions are as follows:
fitA = a1*exp(-t/b1) + a2*exp(b2) + c
fitB = 1-(a1*exp(-t/b1) + a2*exp(b2) + c)
Is there a way to do such a global fit with the fit() function or lsqcurvefit()?
Thanks!
Joel
P.S. I have matlab v. 2013b
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!