フィルターのクリア

Simulink function block to multiply a signal with -1 if its negative

27 ビュー (過去 30 日間)
James Murray
James Murray 2014 年 4 月 4 日
コメント済み: Chandrasekhar 2014 年 4 月 4 日
Hi
Is it possible that I can use a block in Simulink to set conditions that if this signal which is going to be a numerical is less than 0 than simulation multiplies it by -1 to convert it to positive?
Or have two function blocks one for a positive number and one negative and depending on the number simulation takes two different paths?
Thanks for the help

採用された回答

Chandrasekhar
Chandrasekhar 2014 年 4 月 4 日
find the attached logic
  2 件のコメント
James Murray
James Murray 2014 年 4 月 4 日
Thank you
Chandrasekhar
Chandrasekhar 2014 年 4 月 4 日
Or else u can use an abs block of Math operations. simple...

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by