How do I input a (1+bS) block into simulink, when b is const.?

3 ビュー (過去 30 日間)
zone yung
zone yung 2022 年 1 月 1 日
コメント済み: zone yung 2022 年 1 月 5 日
I am trying to solve a system.
I know how to input a block like (1/as+b), but a (aS+b) block. Could someone help me with how to input this block in simulink?
Here is a picture of the block diagram

採用された回答

Abhishek Kolla
Abhishek Kolla 2022 年 1 月 5 日
Hi,
You can use MATLAB Function block in Simulink Library Browser to create custom functions. Double-clicking the MATLAB Function block opens the MATLAB Function Block Editor, where you write the MATLAB function.
You can use tf to create a transfer function in MATLAB.
Assume the value of b=2 , the below code snippet will create the transfer function 1+2s
>>num = [2 1];
>>den = [1];
>>tf(num,den);
Hope this helps.
  1 件のコメント
zone yung
zone yung 2022 年 1 月 5 日
That's helpful,thank you very much.

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

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by