If function error in for cycle

2 vues (au cours des 30 derniers jours)
Nicola
Nicola le 28 Jan 2014
Modifié(e) : Nicola le 28 Jan 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

Réponses (0)

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by