Square Wave for a comparator

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)

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Asked:

on 19 Dec 2019

Edited:

on 23 Dec 2019

Community Treasure Hunt

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

Start Hunting!