Borrar filtros
Borrar filtros

Info

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

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

1 visualización (últimos 30 días)
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

Respuestas (1)

Walter Roberson
Walter Roberson el 5 de Mayo de 2020
mod(time, 1)*150 and use logical indexing <50, >=50 <100, >=100

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