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에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!