Gradient of a function handle
Afficher commentaires plus anciens
I currently have a function
function y = foo(x)
y = cos(x(1)^2-x(2))*x(3)^5/sum(x)
where x is then a 3 dimensional user defined point say [1 1 1] in another function
My objective is to call the function handle in another function, enter a user defined point say [1 1 1], and then take the gradient of it by using syms.
is there a matlab function to convert these files?
Réponses (0)
Catégories
En savoir plus sur Calculus dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!