Create Integral, Differential, timer and counter blocks from basic blocks in simulink
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How to create Integral, Differential, and counter blocks from basic blocks in simulink. for example, the differential blocker uses only + - x %...
0 commentaires
Réponses (1)
Benjamin Thompson
le 21 Oct 2022
You can use a Memory block, subtraction block, and gain block to approximate a differentiator, implementing the equation dx/dt = (x(2)-x(1)) / dt.
Counter block could be done with a memory block, add block, and constant 1 block.
Integral blocks would be more challenging since there are so many possible integration algorithms. Simulink provides blocks with a wide variety of options for all these things.
0 commentaires
Voir également
Catégories
En savoir plus sur General Applications 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!