Looping through times, stop once I reach a certain number

8 visualizzazioni (ultimi 30 giorni)
I have a list of times in a column, in HH:MM:SS. I want to go through each of these times, after converting them to seconds, and stop once I reach a certain number, say 3600. How do I go about doing this?

Risposta accettata

Cris LaPierre
Cris LaPierre il 4 Dic 2018
Set up a conditional statement that will execute a break statement if the condition is met (e.g. number == 3600).

Più risposte (0)

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by