Partial Differentiation of a function

165 次查看(过去 30 天)
syms x y
f=x^2+2*y^2-22
P=diff(f,x)
Here, I have calculated the (partial) differentiation of function "f" w.r.t 'x'
Now, I want to know the value of 'P' at certain point (say x=1.5, y=2.0)
Please help!
  1 个评论
Jimmy
Jimmy 2023-10-13
The information you share is necessary for me, I've been looking for it for a few days and it helped me get my job done.

请先登录,再进行评论。

采纳的回答

Grzegorz Knor
Grzegorz Knor 2011-11-23
One of the possibilities:
syms x y
f=x^2+2*y^2-22
P=diff(f,x)
subs(P,{x,y},{1.5,2})

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Number Theory 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by