How to implement the integration

I want to get the value of x for the time which is the simulation time. SO i need help how to do the above equation in simulink. I am new to this.

Antworten (2)

Walter Roberson
Walter Roberson am 16 Okt. 2017

0 Stimmen

There are multiple ways, including feeding in the Simulation time as a signal and using a Math block or two in order to calculate 1/2 * t^2

2 Kommentare

knight wolf
knight wolf am 16 Okt. 2017
Thank you for your answer. In your reply, you have done the integration in mind . But i want the integration to be done by the matlab itself, is there any specific way if suppose i dont know integrating t is half of t square.

Melden Sie sich an, um zu kommentieren.

Jan
Jan am 16 Okt. 2017
Bearbeitet: Jan am 16 Okt. 2017

0 Stimmen

This is 0.5 * t^2 + C with C is a constant expression depending e.g. on the initial value of t. For t(0)=0, C is 0 also.
Do you need the solution only, or is it a homework question to solve this in Simulink? If so, please mention this explicitly.

Kategorien

Mehr zu General Applications finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 16 Okt. 2017

Kommentiert:

am 16 Okt. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by