solve 4th order ode in simulink
조회 수: 3 (최근 30일)
이전 댓글 표시
I need help solving PART B of this problem. I have never worked with ODE's before. I have attached what i have so far.

댓글 수: 1
James Tursa
2019년 5월 22일
You've never worked with ODE's before, and your first forray is a 4th order system that you have to solve with ode45 and with Simulink? What class is this for?
답변 (1개)
Jim Riggs
2019년 5월 22일
Your diagram looks reasonable to me and it could work, but its hard to tell from a screen shot - especially when the block titles are not being displayed, so I have to guess at what each block really is. Assuming that the sine wave block is set to "time based" and "use simulation time", with an amplitude of 10 and a frequency of Pi, it should work.
It also looks like you used the "scope" block in place of the "xy graph" block, which was specifically stated in the instructions. (but that would be my preference as well).
댓글 수: 3
Jim Riggs
2019년 5월 22일
My point is that the instructions specify both the sine wave block AND the XY Graph block. I don't think it makes sense to use these together. Either:
1) the clock + XY graph, or
2) the Sine wave + scope.
참고 항목
카테고리
Help Center 및 File Exchange에서 General Applications에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
