How to plot x(t) vs t in simulink

11 次查看(过去 30 天)
How can i plot graph of X vs time. My transfer function is Y(s)/X(s). I am using PID Controller. In general response curve will be Y vs time. But i need to know the response of X with respect to time. How can i plot X vs t in simulink.

回答(1 个)

Navya Seelam
Navya Seelam 2019-12-3
Hi,
Assuming you have X(s), you can use Transfer Fcn block followed by scope to plot X vs t. Note that the input to Transfer Fcn block is Discrete Impulse if you are trying to plot impulse response.
  1 个评论
Nagarjuna Arjun
Nagarjuna Arjun 2019-12-20
hello,
My transfer function is G(s) = h(s)/q(s) where h is liquid heght in tank and q is inlet flow rate. while i design pid control for this i will get Height versus time through scope block. Now i need to know how flow rate is changing with respect to time when i give step input to the set point i.e Height of the liquid in the tank. can you tell me how can i obtain this?

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by