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.

Réponses (0)

Cette question est clôturée.

Tags

Question posée :

le 25 Oct 2012

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by