If function error in for cycle

2 次查看(过去 30 天)
Nicola
Nicola 2014-1-28
编辑: Nicola 2014-1-28
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by