How can I fit data which is like that it will check directly several possible issue of fitting then in output it will give right fitted curve ?
조회 수: 5 (최근 30일)
이전 댓글 표시
I have X and Y data and want to plot and then want to fit like that it can give result which is having nearest possible fit. As suppose first of all it will check first order polynomial then second order, and in output it have to give the which is good enough fit?
댓글 수: 0
답변 (1개)
Shashank Prasanna
2013년 8월 23일
If you are looking to do this automatically you can use Stepwise regression.
specify the 'polyijk' model spec. The function will choose the best model based on a specified criterion.
댓글 수: 2
Shashank Prasanna
2013년 8월 23일
Did you make an attempt first? There are examples in the link I gave you.
참고 항목
카테고리
Help Center 및 File Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!