i want to calculate delay between appliances which are scheduled in particular hours to be run i show on and zero show off,and i am taking the plot of it,i am calculating average and maximum delay and plot it the issue is maximum delay bar is ok but

i want to calculate delay between appliances which are scheduled in particular hours to be run i show on and zero show off,and i am taking the plot of it,i am calculating average and maximum delay and plot it the issue is maximum delay bar is ok but average delay bar not show because its all variables value is zero my code segment is below.

please my question detail on below link.

http://www.mathworks.com/matlabcentral/answers/257938-i-want-to-calculate-delay-between-appliances-which-are-scheduled-in-particular-hours-to-be-run-i-sho

More Qazi Zafar Iqbal's questions See All
Similar questions and discussions