Error when plotting a graph

조회 수: 1 (최근 30일)
Louis Sharma
Louis Sharma 2019년 11월 25일
댓글: Star Strider 2019년 11월 25일
Hello, I am trying to plot the solution to the ordinary second order linear inhomogeneous differential equation:
x''(t)= -x + sin(1.1*t).
I am able to get the solution using the dsolve command, but when I try plotting it using 'plot(x,Solution)', I get an error message saying: 'Warning error updating parametrized function line the following error was reported evaluating the function..' and I can't scroll more to see the full error message.
Any help would be great!

채택된 답변

Star Strider
Star Strider 2019년 11월 25일
Use fplot if you have R2016a or later, ezplot otherwise.
  댓글 수: 6
Louis Sharma
Louis Sharma 2019년 11월 25일
Amazing! This was really helpful!
Star Strider
Star Strider 2019년 11월 25일
Thank you!

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

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by