Derivative of the function

조회 수: 2 (최근 30일)
Maros Maros
Maros Maros 2011년 11월 23일
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
Wayne King 2011년 11월 23일
syms x t
u = 3*cos(t);
diff(x^(2*t)+u,t)

Jan
Jan 2011년 11월 23일
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.:
  댓글 수: 1
Maros Maros
Maros Maros 2011년 11월 23일
Thanks,I need solve it numerical, partial derivation and it looks be very helpful.
I am going to check it.
Thank you very much

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Numeric Solvers에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by