Feeds
提问
How to use dlgradient for computing second derivative?
The following code gives me an error. x0 = dlarray([-1,2]); [fval,gradval] = dlfeval(@rosenbrock,x0) function [y,dy2dx] = r...
3 years 前 | 1 个回答 | 0
1
个回答提问
How to access the current iteration number in the program where we supply the non-linear equations,F =0 and the Jacobian for FSOLVE?
For example, in the sample code for fsolve: fun = @root2d; x0 = [0,0]; x = fsolve(fun,x0) where : function F = root2d(x) ...
4 years 前 | 1 个回答 | 0