![1. [14 points] Write the following two functions in Matlab (a) function B -hessmod1 (H) This function takes in the Hessian ma](https://media.cheggcdn.com/media%2Fad8%2Fad8c358f-4289-4148-a6ce-cc81d34cc2af%2FphpsWT96C.png)
1. [14 points] Write the following two functions in Matlab (a) function B -hessmod1 (H) This function takes in the Hessian matrix H and returns a positive definite matrix B by the following procedure . Compute the spectral decomposition of H using the eig command in Matlab . Replace any negative eigenvalues with the positive quantity δ 0.25 . Return B- SD ST, where S is the matrix whose columns are eigenvectors of H, and
PayPal Gateway not configured
PayPal Gateway not configured