Unable to resolve the name data.Time.

My colume has Time in this formart HH:MM:SS, how do i covert this column to numerical value?

3 commentaires

Rik
Rik le 17 Juin 2022
What have you tried? And are you working with a table or a cell?
Cris LaPierre
Cris LaPierre le 17 Juin 2022
The title and question seem unrelated.
What numerical value are you wanting to turn it into? Is there a reason why you can't keep it a datetime?
Paulus Tjakula
Paulus Tjakula le 17 Juin 2022
I want to convert it to double datatype because I want to use the dataset for curve fitting

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 17 Juin 2022

0 votes

duration() the column. seconds() to get a numeric value.

Catégories

Produits

Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by