Simulink-Sawtooth Decrease Counter
5 views (last 30 days)
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!
Birdman on 7 Apr 2020
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.