Info

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

Execution of set of commands for a fixed period of time, but at different time instants

1 回表示 (過去 30 日間)
Swathi D
Swathi D 2020 年 5 月 5 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
consider my time frequency is 50hz, i divide this time into 3 time intervals such that ta+tb+tc= ts, ts=1/50hz . i have to pass certain command for ta duration, then certain commands for tb, and tc too.
how can i write program for such execution..
please some help me

回答 (1 件)

Walter Roberson
Walter Roberson 2020 年 5 月 5 日
mod(time, 1)*150 and use logical indexing <50, >=50 <100, >=100

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

Community Treasure Hunt

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

Start Hunting!

Translated by