Simulink-Sawtooth Decrease Counter

5 次查看(过去 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 CenterFile Exchange 中查找有关 Sources 的更多信息

标签

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by