Simulink-Sawtooth Decrease Counter

6 ビュー (過去 30 日間)
Chris John
Chris John 2020 年 4 月 6 日
回答済み: Birdman 2020 年 4 月 7 日
Create a Simulink model that generates a sawtooth waveform of frequency 5 Hz and that increments a counter every time a falling edge is detected for the signal. You will need a Pulse Generator block, a Detect Decrease block, a Sum block, a Memory block, and a Display block. Thanks!
  1 件のコメント
Peter O
Peter O 2020 年 4 月 7 日
This sounds like a homework problem. What difficulties are you experiencing when creating the counter?

サインインしてコメントする。

回答 (1 件)

Birdman
Birdman 2020 年 4 月 7 日
Try the attached model. Note that I didn't use Pulse Generator or Detect Decrease or Sum or Memory block. The model is very simple. Just run and observe the result presented in Display block.

カテゴリ

Help Center および File ExchangeSources についてさらに検索

タグ

製品


リリース

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by