Time dependent function in MATLAB which modifies a variable's value after a few known seconds.

Let x=100. After 5 seconds x should become 99. After further 5 seconds, x should become 98 and so on till x becomes 20. In C++, delay function would have done the needful. Please guide me towards a solution for MATLAB.

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

製品

質問済み:

2018 年 6 月 15 日

コメント済み:

2018 年 6 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by