2nd order system in Simulink

조회 수: 4 (최근 30일)
Angelica Belo
Angelica Belo 2021년 9월 5일
편집: Gagan Baishya 2021년 9월 15일
I was tasked to construct the following 2nd order system in simulink:
y'' + 5y' + 6 = 0; y(0) = 0, y'(0) = 1
I have the following so far:
I'm not sure where and how I can input the y(0) = 0, y'(0) = 1 part.
I was wondering if I'm missing something or if this is correct already. Thank you!
  댓글 수: 1
Paul
Paul 2021년 9월 5일
Are you sure that differential equation shouldn't be: y'' + 5y' + 6y = 0 ?

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

답변 (1개)

Gagan Baishya
Gagan Baishya 2021년 9월 15일
편집: Gagan Baishya 2021년 9월 15일
Hi,
You are missing one more integrator block. Also you can specify the initial condition by simply double clicking both the integrator blocks and setting the initial condition to 0 & 1.
To understand more about drawing ODEs in Simulink, please follow the link below: https://blogs.mathworks.com/simulink/2008/05/23/how-to-draw-odes-in-simulink/

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by