Derivative of a function of three variables

1 Ansicht (letzte 30 Tage)
MINATI PATRA
MINATI PATRA am 26 Mai 2021
Bearbeitet: Torsten am 26 Mai 2021
%% 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])

Akzeptierte Antwort

Torsten
Torsten am 26 Mai 2021
Bearbeitet: Torsten am 26 Mai 2021
syms y S K
C(y,S,K) =exp(-y*sqrt(S*K));
g = gradient(C(y,S,K),[y,S,K])

Weitere Antworten (0)

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by