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 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