简体   繁体   中英

Simulink: implementing a custom transfer function

Let's say I implement this m-file:

Fq=tf(0.5^2,[1 2*0.7*0.5 0.5^2]);
G=tf(0.006*[200 1],[80 1 0]);
Q=Fq/G;

open Inner_Loop.mdl

Inside Inner_loop.mdl, if I want to implement/model a transfer function block using G, how can it be achieved easily? In other words, how can I retrieve the numerator and denominator of a tf easily?

Thanks in advance.

这是通过调用tfdata()函数完成的,对于num这样的分子数据,需要在Simulink模型的传递函数块的数据字段中指定num {1}。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM