ode coupled equations solver

2 ビュー (過去 30 日間)
Pavan Kumar
Pavan Kumar 2015 年 2 月 11 日
回答済み: Jan 2015 年 2 月 11 日
Hii Friends,
Is it possible to have a negative values in the parenthesis of ode45 solver?
[z,y] = ode45('Name',[0 1],[y3pmi y3shi]);
e.g. Can y3pmi and y3shi be vectors where in some of the values are negative and imaginary?
Thanks in advance.
Pavan

採用された回答

Jan
Jan 2015 年 2 月 11 日
You mean the initial values of the trajectory? Yes, of course they can have any value. And in Matlab imaginary values are treated exactly as real values.
Simply try it.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by