Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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 回表示 (過去 30 日間)
shane watson
shane watson 2017 年 3 月 2 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件のコメント
Rik
Rik 2017 年 3 月 2 日
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.

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by