Plot differential equation two variables, one of them known

2 views (last 30 days)
Good evening,
I want to plot the variable Y of the following differential equation:
y'+(2/x)y=3
Where X is a know function of t and can be a ramp, step, cosine, etc.

Answers (0)

Categories

Find more on Numerical Integration and Differential Equations 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!