Need to get an input to a curve fit toolbox application in datetime format

4 ビュー (過去 30 日間)
Del Ventruella
Del Ventruella 2017 年 5 月 3 日
回答済み: Ritesh Chandna 2017 年 5 月 9 日
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.

回答 (1 件)

Ritesh Chandna
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.

カテゴリ

Help Center および File ExchangeCurve Fitting Toolbox についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by