Clear Filters
Clear Filters

How to plot x(t) vs t in simulink

4 views (last 30 days)
Nagarjuna Arjun
Nagarjuna Arjun on 29 Nov 2019
Commented: Nagarjuna Arjun on 20 Dec 2019
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.

Answers (1)

Navya Seelam
Navya Seelam on 3 Dec 2019
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 Comment
Nagarjuna Arjun
Nagarjuna Arjun on 20 Dec 2019
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?

Sign in to comment.

Categories

Find more on Simulation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!