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

11 vues (au cours des 30 derniers jours)
tomer polsky
tomer polsky le 22 Avr 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

Réponses (2)

Ameer Hamza
Ameer Hamza le 22 Avr 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 le 23 Avr 2018
thank you but what I did is using Laplace transform and basically putting 3 integers in series .

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by