Hi I have a quesion regarding the creation of a time variable with increments of every 10 seconds ( I am trying to do a time series graph). I have tried with datetime and duration with no luck. The time of the sampling shoulf cover in theory the 161,052 observations. Any help will be appreciated.
D = duration(4,00:00,10) %% I tried this trying to get the increments of a duration period of 4 hours in increments of 10 seconds

 Réponse acceptée

VBBV
VBBV le 10 Août 2020
Modifié(e) : VBBV le 10 Août 2020

0 votes

Try
A = duration(0,00,00);
B = duration(4,00,00);
C = A:seconds(10):B

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by