simulinkでsample and holdを複数回行い、複数回前までの値を保持
Show older comments
やりたいこと:
入力を連続信号、トリガを周期的なパルス信号とした時に、トリガ発生時の値を保持したい。
それに加えて複数回前までの値を保持したい。
ホールドの初期値は0。
例:入力を固定値(1)としたとき
新 古
hold0 hold1 hold2
trigger1 1 0 0
trigger2 1 1 0
trigger3 1 1 1
Accepted Answer
More Answers (0)
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!