フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

second sensitivity equations for large scale ODEs with multiple parameters

1 回表示 (過去 30 日間)
Wang Hong
Wang Hong 2020 年 2 月 24 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
In order to calculate geodesic path, I will calculate second sensitivity equations for 19 ODEs with 41 parameters. Owing to integrate for the second sensitivity equations, the equations should be keep and I use symbolic expression and matlabfunction to do it. But the matlab shows me the error information: out of memory for the second step( as shown next)
1. [SS,dSS,SS0] = sensitivity_equations_another([obj.x;obj.S(:)], obj.theta, [obj.dx;obj.dS(:)], [obj.x0;obj.S0(:)],M);
2 obj.ODE_2nd_order_sensitivity_rhs=matlabFunction([obj.dx;obj.dS(:);obj.dSS(:)],'vars', {'t',[obj.x;obj.S(:);obj.SS(:)], obj.theta});
3. ode45(@(t,x_values)obj.ODE_2nd_order_sensitivity_rhs(t,x_values,para),obj.time_points_to_evaluate,obj.ODE_2nd_order_sensitivity_init(para));
here the size of obj.x is 19*1; the size of obj.S() is 798*1 and the sizie of obj.SS(:) is 33516*1
even if the matrix was seperated for different parts, the error information still is : the symbolic expression is too large to calculate
Then for the large scale ODEs and multiple parameters, how to solve it

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by