Azzera filtri
Azzera filtri

If function error in for cycle

2 visualizzazioni (ultimi 30 giorni)
Nicola
Nicola il 28 Gen 2014
Modificato: Nicola il 28 Gen 2014
Good evening, i have a problem with this code The problem is in line 72; the variable minuti=14(which is part of a time 9.14), mminuti is an array of multiple numbers of six(i'm sampling time every 6 minutes); i want that it prints ggradi when the if condition is verified (mminuti(z)=12 < minuti=14 < minuti(z+1)=18, or rather when it is 9.12 because 9.14 is 9.12<9.14<9.18) This is verified when z=25; why does it print when z=25 of the next cycle 9.18?
Thank you so much!
If you want to try it http://sdrv.ms/1b5RZwJ LINK

Risposte (0)

Categorie

Scopri di più su Statistics and Machine Learning Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by