simulinkでsample and holdを複数回行い、複数回前までの値を保持
    2 views (last 30 days)
  
       Show older comments
    
    Kouta Amano
 on 19 Mar 2020
  
    
    
    
    
    Answered: Toshinobu Shintai
    
 on 20 Mar 2020
            やりたいこと:
入力を連続信号、トリガを周期的なパルス信号とした時に、トリガ発生時の値を保持したい。
それに加えて複数回前までの値を保持したい。
ホールドの初期値は0。
例:入力を固定値(1)としたとき
    新     古
           hold0  hold1  hold2
trigger1     1         0         0
trigger2     1         1         0
trigger3     1         1         1
0 Comments
Accepted Answer
  Toshinobu Shintai
    
 on 20 Mar 2020
        添付のようなモデルではどうでしょうか。
モデルはR2020aで作成しました。開けない場合はzipファイルの方にブラウザで開けるWebビューを作成しましたのでそちらをご確認ください。
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
