Gradient of a function handle
6 views (last 30 days)
Show older comments
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?
0 Comments
Answers (0)
See Also
Categories
Find more on Symbolic Variables, Expressions, Functions, and Preferences in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!