Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

I am facing problem while coding which is I have length of operation time of Appliance=[2 3 4 5 6] in hr and I want..........

1 visualización (últimos 30 días)
I have length of operation time of appliance =[2 3 4 5 6] in hour and I want my loop to start such way that when appliance start then it give me output 1 for only 2 hours and similarly for appliance 2 starts output is 1 other than this zero for 3,4 and appliance and its operation time is given so I need for loop here to do this.Kindly help me out. Thanks
  1 comentario
Rik
Rik el 2 de Mzo. de 2017
This is really difficult to parse. Try adding commas and periods.
Also, have a read here and here. It will greatly improve your chances of getting an answer.
What should your code do? What have you tried already? What errors or unwanted results are you getting. If these answers can be answered you make it easier for people to answer your question. There are enough questions to keep everybody busy. Follow this advice and you will increase the odds that people will be busy with your question.

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by