Effacer les filtres
Effacer les filtres

decimal specification change in a table

1 vue (au cours des 30 derniers jours)
mat geek
mat geek le 21 Avr 2019
Commenté : Walter Roberson le 21 Avr 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 commentaire
Walter Roberson
Walter Roberson le 21 Avr 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?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Data Type Identification dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by