Computing the hessian matrix
1 view (last 30 days)
Show older comments
So I need to compute the gradient and hessian of a given equation. The sample equation is Y=2*X(1)^3+3*X(2)^2+X(3). I think I was able to get the gradient by using gradient(X,Y). However when I try using the hessian function I receive the error "Undefined function 'hessian' for input arguments of type 'double'." Thanks for the help
Answers (0)
See Also
Categories
Find more on Linear Least Squares 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!