simulink-using threshold
21 次查看(过去 30 天)
显示 更早的评论
Hi,
I am trying to simulate a case in simulink where i need to set the output to 1 when the input is between two threshold levels, otherwise the output is 0. I tried to use relay block, but it incorporates hysteresis which i do not want. PLEASE GIVE ME A SOLUTION.
1 个评论
TAB
2012-4-6
Is there any problem with using comparator block (<=, >=) along with switch block to implement the logic ?
回答(2 个)
mahjoub el attar
2012-4-5
The answer is in your question. Don't use Relay block but Threshold Block... Friendly.
2 个评论
mahjoub el attar
2012-4-5
I did it before but I just don't remember.I need to check my old models on my own laptop tonight.
I hope you'll get a faster answer.
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!