simulataneous Curve fitting follow up

Is there a simple modification that I can make that would allow me to instead simultaneously graph curves with this equation:
y=a log(x+d)
y=b log(x+ 2*d)
y=c log(x+ 3*d)

댓글 수: 2

Fangjun Jiang
Fangjun Jiang 2011년 8월 11일
You previous question said. Please be precise.
The equations that I want to do the fitting with are:
y= a log x + b
y= c log x + 2* b
y= d log x + 3 *b
Syd
Syd 2011년 8월 11일
i already got that question answered...this is a second question. thanks

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

답변 (2개)

bym
bym 2011년 8월 12일

0 개 추천

y(:,1)=a*log(x+d);
y(:,2)=b*log(x+2*d);
y(:,3)=c*log(x+3*d);
plot(x,y)
Friedrich
Friedrich 2011년 8월 12일

0 개 추천

Hi,
I think this won't work since you can't seperate the unknowns as needed. I can't think on any easy way to do it. I can't think on a way to do it (without writing the fitting algorithm by your own) in MATLAB at all.

카테고리

도움말 센터File Exchange에서 Interpolation에 대해 자세히 알아보기

질문:

Syd
2011년 8월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by