Square Wave for a comparator

1 view (last 30 days)
Sferle Alin-Tudor
Sferle Alin-Tudor on 19 Dec 2019
Edited: Samatha Aleti on 23 Dec 2019
I want to make a comparator and i need help to generate the out wave which is a square.
if i plot these signals dr ,matlab shows nothing.
  1 Comment
Samatha Aleti
Samatha Aleti on 23 Dec 2019
Edited: Samatha Aleti on 23 Dec 2019
Can you specify what is "tip_comp" in your code and its expected values. Also Did you initialize "dr" before using "swicth" command?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!