curve start and finish at [0 0] [0 365] respectively?
조회 수: 1 (최근 30일)
이전 댓글 표시
how can i impose the fitting curve to start from [0 0 ] and finish in [0 365] ? possibly using curve fitting toolbox?
댓글 수: 1
Philip G
2018년 12월 10일
There are multiple ways to do this:
Trim your data before ... e.g.
x_new = x(x>=0 && x<=365);
same for Y of course
Trim your data in the curve fitting app.
e.g. under tools - exclude outliers
or in the fit options you can specify a range
Fit manually
and use tools like https://de.mathworks.com/help/curvefit/excludedata.html
답변 (1개)
KSSV
2018년 12월 10일
Let (x,y) be your data.
idx = y >= 0 & y <= 360 ;
x = x(idx) ; y = y(idx) ;
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!