Finding a general solution to a system

I'm having trouble getting started on finding a general solution to the following:
du/dt=1-v and dv/dt=u-1 (a non-homogeneous linear system).
Would the ode45() function be the best way to do this? How would I go about getting rid of the imaginary numbers and putting it into the form of sine and cosine?

Answers (0)

Asked:

on 2 May 2019

Commented:

on 2 May 2019

Community Treasure Hunt

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

Start Hunting!