Create Integral, Differential, timer and counter blocks from basic blocks in simulink
이전 댓글 표시
How to create Integral, Differential, and counter blocks from basic blocks in simulink. for example, the differential blocker uses only + - x %...
답변 (1개)
Benjamin Thompson
2022년 10월 21일
0 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Discontinuities에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!