how i can have gradient of a multivariate function like f(x,y) in a single function?
Mostra commenti meno recenti
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]
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Conversion in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!