Need to get an input to a curve fit toolbox application in datetime format
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi, I need an input to a curvefit routine using a datetime input. The toolbox won't recognize the datetime array I created as the x-axis input. Can I convert this datetime array to a simple number array that it will recognize? How? Thanks.
댓글 수: 0
답변 (1개)
Ritesh Chandna
2017년 5월 9일
Did you use 'datenum' function?
Try to use 'datenum' function to convert 'datetime' and then use the curve fitting toolbox function on 'datenum' object.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Curve Fitting Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!