help in dsolve
1 回表示 (過去 30 日間)
古いコメントを表示
i am trying to solve for the exact solution using dsolve like:
x = dsolve('2*Dw-w=2*t^2+1','w(0)= -1/3','t');
how can i generate the values for x between 0:0.05:1 and tabulate it with other functions to solve the ODE.
Please help.
Thank you
0 件のコメント
採用された回答
Andrei Bobrov
2011 年 5 月 4 日
so?
x = dsolve('2*Dw-w=2*t^2+1','w(0)= -1/3','t');
fff = eval(['@(t)' vectorize(x)]);
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!