simulinkで信​号が一定時間入力され​たことをトリガーにパ​ルスを任意の時間出力​することが何度もでき​ますか?

5 views (last 30 days)
ryo toyama
ryo toyama on 4 Jun 2019
Commented: Shoumei on 13 Jun 2019
simulinkで信号が一定時間入力(信号は0と1で構成されており、1が一定時間続く)されたことをトリガーに任意の時間パルス出力する方法を教えてください。
初回はできるのですが、2回目以降ができません。
  1 Comment
Shoumei
Shoumei on 13 Jun 2019
ご質問の意味がよくわからないので、確認させてください。
以下の入出力関係をモデル化したいということでしょうか?
Input 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 0, 0
Output 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0
0/1の信号が入力されており、1が連続して入力されたときのみ1を出力する。
また、現在どのようなモデルを作られているのかも教えて下さい。

Sign in to comment.

Answers (1)

Yoshio
Yoshio on 8 Jun 2019
N-Sample Enableは使えませんか? Reset Inputで初期状態にもどすことができます。

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!