Nonlinear least square regression
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi all i have 17 observation (x and y) the relation between them as follows
y = 0.392 * (1 - (x / J)) ^ i
i want to use nonlinear least square regression to know J and i
Thanks in advance
댓글 수: 0
채택된 답변
Eli Duenisch
2013년 5월 23일
편집: Eli Duenisch
2013년 5월 23일
Do you have the statistics toolbox installed? It supports nonlinear regression - look for NonLinearModel.fit() in the docs.
댓글 수: 5
Tom Lane
2013년 5월 24일
Try NonLinearModel.fit capitalized just that way. This should work in the most recent releases of MATLAB. Otherwise try nlinfit.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Regression에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!