What is wrong with this equation?

6 views (last 30 days)
Andy
Andy on 8 May 2013
I am able to get a solution from this:
[x,y] = dsolve('Dx=-3*x+(5/2)*y','Dy=(-5/2)*x+2*y','t')
But I get an error from this:
[x,y] = dsolve('Dx=2*x+(-5/2)*y','Dy=(9/5)*x-*y','t')
Is there a particular reason why dsolve will not solve this?

Answers (1)

Youssef  Khmou
Youssef Khmou on 8 May 2013
hi,
no its fine, remove the asterisk
[x,y] = dsolve('Dx=2*x+(-5/2)*y','Dy=(9/5)*x-y','t')

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!