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.

Antworten (0)

Diese Frage ist geschlossen.

Tags

Gefragt:

am 25 Okt. 2012

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by