Derivative of a function of three variables

2 次查看(过去 30 天)
%% 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