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 Center および File ExchangeSymbolic 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