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 Comments

What have you tried? And are you working with a table or a cell?
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?
I want to convert it to double datatype because I want to use the dataset for curve fitting

Sign in to comment.

Answers (1)

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

Products

Release

R2022a

Asked:

on 17 Jun 2022

Answered:

on 17 Jun 2022

Community Treasure Hunt

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

Start Hunting!