Error while using curve fitting toolbox
이전 댓글 표시
I've been trying to use the curve fitting toolbox to do a pretty simple fit. However, after I create a data set, choose the type of fit, and click apply, I get the error:
"Fit could not be computed due to error:
Too many output arguments."
This happens no matter what data I use or what fit I use; I've even tried exactly following the demos provided in help, loading census and fitting a curve to that, with the same result.
I'm using Version 7.8.0.347, R2009a. I checked for updates and it claimed there were none.
Does anyone know what might be causing this?
Thank you so much!
댓글 수: 8
Star Strider
2012년 7월 2일
What do your data look like and what model do you want to fit? It might be easier to do programmatic curve fitting with 'lsqcurvefit', 'nlinfit' or one of the others.
Sean de Wolski
2012년 7월 2일
Please post the code.
Claire
2012년 7월 2일
Sean de Wolski
2012년 7월 2일
Could you post a screenshot? Anything you can do will help.
Do you have duplicate data points in your data vectors?
Claire
2012년 7월 2일
Sean de Wolski
2012년 7월 2일
편집: Sean de Wolski
2012년 7월 2일
If you use:
x = 1:10;
y = .34*exp(-.1*x)
And then do the y = a*exp(b*x) fit, with this dataset, do you get the error?
Claire
2012년 7월 2일
Sean de Wolski
2012년 7월 2일
This seems more like a path issue with something important being shadowed.
채택된 답변
추가 답변 (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!