Clear Filters
Clear Filters

decimal specification change in a table

1 view (last 30 days)
mat geek
mat geek on 21 Apr 2019
Commented: Walter Roberson on 21 Apr 2019
I have my data in a table that the user input as a matrix [a 'time', 'temp' b; c,d]. and assigned the first column to time, and sec column be temperature.
a=table(Time,temp)
And the time variable values was converted from min to hours, but how can I make the time variable show to 2 decimal places in the table.
  1 Comment
Walter Roberson
Walter Roberson on 21 Apr 2019
Is Time a datetime() object or a duration() object, or one of the calendar related time objects ? Or is it just plain numeric?
Which MATLAB release are you using?

Sign in to comment.

Answers (0)

Categories

Find more on Data Type Identification in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!