Need to get an input to a curve fit toolbox application in datetime format
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Ritesh Chandna
el 9 de Mayo de 2017
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 comentarios
Ver también
Categorías
Más información sobre Curve Fitting Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!