How to design for decrement counter which should decrement from 500 to 0 using simulink blocks

11 vues (au cours des 30 derniers jours)
How to design for decrement counter which should decrement from 500 to 0 using simulink blocks

Réponses (1)

Mathieu NOE
Mathieu NOE le 19 Nov 2025 à 15:56
hello
simply make the difference between a constant (= 500) and a standard (rising) counter (0 to 500)
the two blocks are to be found in the "sources" library.
here my results (with a discrete, fixed step solver with ts = 1e-3)

Catégories

En savoir plus sur Additional Math and Discrete dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by