how to plot at^2+bt+c=0 in simulink ?

6 views (last 30 days)
tomer polsky
tomer polsky on 22 Apr 2018
Answered: tomer polsky on 23 Apr 2018
hello i want to plot this parbula with respect of the time domain in simulink how do I do it ?
I know how to do it in matlab but I need to do it simulink
thank you

Answers (2)

Ameer Hamza
Ameer Hamza on 22 Apr 2018

I think you meant you want to plot f(t)=at^2+bt+c in Simulink since you mentioned parabola in your answer. Although you can use MATLAB function block inside Simulink and create the same function as MATLAB, but it appears that this is not what you are trying to do. The block diagram to do this is Simulink using basic blocks is given below

The Simulink model file is also attached. Run the simulation and open scope to see parabola.


tomer polsky
tomer polsky on 23 Apr 2018
thank you but what I did is using Laplace transform and basically putting 3 integers in series .

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!