Derivative of a function of three variables

4 visualizaciones (últimos 30 días)
MINATI PATRA
MINATI PATRA el 26 de Mayo de 2021
Editada: Torsten el 26 de Mayo de 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])

Respuesta aceptada

Torsten
Torsten el 26 de Mayo de 2021
Editada: Torsten el 26 de Mayo de 2021
syms y S K
C(y,S,K) =exp(-y*sqrt(S*K));
g = gradient(C(y,S,K),[y,S,K])

Más respuestas (0)

Categorías

Más información sobre Symbolic Variables, Expressions, Functions, and Preferences en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by