Derivative of a function of three variables

조회 수: 6 (최근 30일)
MINATI PATRA
MINATI PATRA 2021년 5월 26일
편집: Torsten 2021년 5월 26일
%% Can it be possible to find derivative of 'C' simultaneously with all the variables
syms y S K
C = exp(-y*sqrt(S*K)); CD = diff(C,[y S K])

채택된 답변

Torsten
Torsten 2021년 5월 26일
편집: Torsten 2021년 5월 26일
syms y S K
C(y,S,K) =exp(-y*sqrt(S*K));
g = gradient(C(y,S,K),[y,S,K])

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Symbolic Variables, Expressions, Functions, and Preferences에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by