How to loop a discretely varying function in time?

How to run a function like this in a loop where time is increasing?
Radius varying with time: First 2 seconds drops linearly, next two seconds stays constant, next two seconds increases linearly and stays constant for the last two seconds.

回答(0 个)

此问题已关闭。

标签

提问:

2012-10-25

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by