how to read a function handle parameter when i use ode23
古いコメントを表示
Hi all; I use ode23 to solve the ordinary differential equations in the form.
[~,y] = ode23(@(t,x)f(t,x,0, kc, @(t)lookup_u(zdot,t)), [0 2], x00,opt);
My quation is: can I read the value x after ode23 is solved to use these values in a different function? Regards
回答 (1 件)
Torsten
2016 年 6 月 27 日
0 投票
x from above is just a formal paramter. The solution is returned in the y-vector.
Best wishes
Torsten.
3 件のコメント
Muna Shehan
2016 年 6 月 27 日
Muna Shehan
2016 年 6 月 27 日
Torsten
2016 年 6 月 28 日
I think it's easier if you explain the underlying problem in more detail ...
Best wishes
Torsten.
カテゴリ
ヘルプ センター および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!