Please Help Me! i want to plot a equation dx/dt = y-5; dy/dt = -x+5; x(0)=0,y(0)=0. What type of code solver should i use.
Show older comments
plot a equation
dx/dt = y-5; dy/dt = -x+5; x(0)=0,y(0)=0.
Accepted Answer
More Answers (2)
Torsten
on 31 Oct 2018
1 vote
Use "dsolve" for solving and "fplot" for plotting.
Best wishes
Torsten.
Nguyen Dat
on 31 Oct 2018
0 votes
Categories
Find more on Numeric Solvers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!