Square Wave for a comparator
Show older comments
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
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?
Answers (0)
Categories
Find more on MATLAB Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!