how i can have gradient of a multivariate function like f(x,y) in a single function?
古いコメントを表示
i define multivariate function f by syms order and wish have gradient f in especial point like x0 and i can not use from for loop
for example :
syms f(x,y)
f(x,y)=x^2+y^2,x0=(1,1)
i wish have
g=f'(x,y)
then
g(1,1)=[2,2]
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Conversion についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!