Community Profile

photo

Rahul Gulati


Last seen: 4 meses ago Active since 2020

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Content Feed

View by

Question


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...

11 meses ago | 1 answer | 0

1

answer

Question


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) ...

casi 2 años ago | 1 answer | 0

1

answer