Create Integral, Differential, timer and counter blocks from basic blocks in simulink
1 次查看(过去 30 天)
显示 更早的评论
How to create Integral, Differential, and counter blocks from basic blocks in simulink. for example, the differential blocker uses only + - x %...
0 个评论
回答(1 个)
Benjamin Thompson
2022-10-21
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 General Applications 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!