Gradient of a function handle
显示 更早的评论
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 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Cell Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!