mercredi 6 septembre 2017

Plot shifting between two values in if statement

enter image description here

Hello there I have if statement contain two equations as shown in the attached picture. This algorithm have two step size values represented by c and d respectively. The algorithm will shift between these two values according to the if statement. how can I plot the shifting between c and d. Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire