Derivative of the function
古いコメントを表示
Hi all, I have question about derivation of function. I have function f=x^2(t)+u(t) and need derivation through t, not x or u. In which way it is possible to solve by Matlab ? ode or myfun function ? Or an easier way ? (I am solving variance method)
Thanks
回答 (2 件)
Wayne King
2011 年 11 月 23 日
syms x t
u = 3*cos(t);
diff(x^(2*t)+u,t)
Jan
2011 年 11 月 23 日
0 投票
Do you look for a symbolical or numerical solution? For a numerical solution, do you want a rough discrete estimation as by gradient or a more expensive adaptive method like e.g.:
カテゴリ
ヘルプ センター および File Exchange で Numeric Solvers についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!