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 Comment
Direct link to this comment
https://es.mathworks.com/matlabcentral/answers/515896-simulink-sawtooth-decrease-counter#comment_822749
Direct link to this comment
https://es.mathworks.com/matlabcentral/answers/515896-simulink-sawtooth-decrease-counter#comment_822749
Sign in to comment.