decimal specification change in a table

1 次查看(过去 30 天)
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 个评论
Walter Roberson
Walter Roberson 2019-4-21
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?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Type Identification 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by