How can I implement a counter that increment with one and resets every 2 sec?

using relatinal operator, logical operator, unit delay, switch block, signal builder

1 Comment

What did you try? Personally I would use mod, why wouldn't you? Is this homework?

Sign in to comment.

Answers (0)

Products

Release

R2017b

Asked:

on 12 Dec 2021

Commented:

Rik
on 12 Dec 2021

Community Treasure Hunt

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

Start Hunting!