Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 1 (최근 30일)
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