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.

답변 (2개)

Walter Roberson
Walter Roberson 2017년 10월 16일

0 개 추천

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

knight wolf
knight wolf 2017년 10월 16일
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.

댓글을 달려면 로그인하십시오.

Jan
Jan 2017년 10월 16일
편집: Jan 2017년 10월 16일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 General Applications에 대해 자세히 알아보기

태그

질문:

2017년 10월 16일

댓글:

2017년 10월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by