Error when plotting a graph

1 visualización (últimos 30 días)
Louis Sharma
Louis Sharma el 25 de Nov. de 2019
Comentada: Star Strider el 25 de Nov. de 2019
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!

Respuesta aceptada

Star Strider
Star Strider el 25 de Nov. de 2019
Use fplot if you have R2016a or later, ezplot otherwise.
  6 comentarios
Louis Sharma
Louis Sharma el 25 de Nov. de 2019
Amazing! This was really helpful!
Star Strider
Star Strider el 25 de Nov. de 2019
Thank you!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Applications en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by