funcction used to set two diffrent limmits , upper limits and lower limits. and values below or equal to lower limit are set to zero and continues to be zero even is beyond the lower limit, the state is changed to 1 when in touch the upper limit and continues to 1 until it touches the lower limit.
jamali omary (2021). schmitt trigger (https://www.mathworks.com/matlabcentral/fileexchange/44419-schmitt-trigger), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
this code isn't running. can someone pls post any modifications in needed?
I am qiete new with matlab and dont know what to do, make the code work