photo

Rahul Gulati


Last seen: 2 years ago Active since 2020

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

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

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

3 years ago | 1 answer | 0

1

answer