フィルターのクリア

simulink-using threshold

16 ビュー (過去 30 日間)
saima
saima 2012 年 4 月 5 日
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
TAB 2012 年 4 月 6 日
Is there any problem with using comparator block (<=, >=) along with switch block to implement the logic ?

サインインしてコメントする。

回答 (2 件)

mahjoub el attar
mahjoub el attar 2012 年 4 月 5 日
The answer is in your question. Don't use Relay block but Threshold Block... Friendly.
  2 件のコメント
saima
saima 2012 年 4 月 5 日
hah hah, thanks a lot, but the threshold block that i know is wrap to zero, it provides only one threshold(when the input is above threshold output is zero), i need two threshold values. can you help please?
mahjoub el attar
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.

サインインしてコメントする。


K E
K E 2012 年 4 月 5 日
Try the Interval Test block.

カテゴリ

Help Center および File ExchangeSubsystems についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by