How to do partial derivates?

20 ビュー (過去 30 日間)
Kalle
Kalle 2022 年 11 月 7 日
編集済み: Torsten 2022 年 11 月 7 日
So i have this function x*sin(x*y)
and I'd need to do a partial derivate like this with it: d^2/dxdy
How do I write it?

回答 (1 件)

Torsten
Torsten 2022 年 11 月 7 日
編集済み: Torsten 2022 年 11 月 7 日
syms x y
f = x*sin(x*y);
dxy = diff(diff(f,x),y)
dxy = 
dyx = diff(diff(f,y),x)
dyx = 
By the way: it's called "partial derivatives", not "partial derivates".

カテゴリ

Help Center および File ExchangeCalculus についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by