How to reverse a duration?
Mostrar comentarios más antiguos
e.g. c = minutes(2) gives a duration variable: c = 2 min... How to reverse it and get just an integer of 2 ?
Respuesta aceptada
Más respuestas (1)
Kevin Chng
el 28 de Ag. de 2018
0 votos
c = minutes(2) minutes(c)
it will give you back the integer....
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!