How to do partial derivates?

조회 수: 13 (최근 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 CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by