필터 지우기
필터 지우기

How to calculate detivative of a function with respect to another function

조회 수: 1 (최근 30일)
Hi! I want to calculate the derivative below in matlab
Have anyone any idea?

채택된 답변

madhan ravi
madhan ravi 2020년 5월 31일
편집: madhan ravi 2020년 5월 31일
syms u x
subs(diff(u^2 - 1), u, cos(x))

추가 답변 (1개)

Alan Stevens
Alan Stevens 2020년 5월 31일
Surely you don't need to do this in Matlab!
Just set u = cos(x), so you have d/du(u^2 - 1) = 2u = 2cos(x)

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by