Partial Differentiation of a function
조회 수: 532 (최근 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
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
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 Center 및 File Exchange에서 Number Theory에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!