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일

7 개 추천

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개)

카테고리

질문:

2011년 11월 23일

댓글:

2023년 10월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by