decimal specification change in a table
1 view (last 30 days)
Show older comments
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
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?
Answers (0)
See Also
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!