how can i derive sin(x) ?

조회 수: 14 (최근 30일)
mohammad imad
mohammad imad 2018년 3월 20일
답변: Walter Roberson 2018년 3월 20일
hello there I have problem with derivation of sin(x)
syms x
diff(sin(x))
ans
cos(x)
but I want the answer to be xdot*cos(x), can you tell me how can i do it? ,please

채택된 답변

Walter Roberson
Walter Roberson 2018년 3월 20일
syms x(t)
diff(sin(x))

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Conversion Between Symbolic and Numeric에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by