ode coupled equations solver

조회 수: 1 (최근 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 CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by