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!