how can i derive sin(x) ?

13 ビュー (過去 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 Center および File ExchangeConversion 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