HAVE A PROBLEM WITH DSOLVE

9 ビュー (過去 30 日間)
eduardo arango
eduardo arango 2011 年 9 月 3 日
HI , I AM NEW WITH MATLAB ,, PLEASE HELP ME ,, I TRY SOLVE A DIFFERENTIAL EQUATION BUT I CAN'T ,, LOOK: >> y = dsolve('2*D2y+0.02+Dy+y=2','y(0)=0','Dy(0)=3') ezplot(y,[0,20]) ??? Undefined function or method 'dsolve' for input arguments of type 'char' HOW CAN I SOLVE THIS PROBLEM?? THANK.

回答 (2 件)

Walter Roberson
Walter Roberson 2011 年 9 月 3 日
Are you sure that you have the Symbolic Toolbox? dsolve() is not part of basic MATLAB.
The Symbolic Toolbox is an optional extra-cost add-on to MATLAB, except that it is included in the Student Version (but in the Student Version you still have to be sure to install it.)

Kai Gehrs
Kai Gehrs 2011 年 9 月 5 日
Hi,
I agree with Walter. I tried the command in R2010a and it works when you have the Symbolic Math Toolbox installed.
Best regards,
-- Kai

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by