dynamicslab / databook_matlab

Matlab files with demo code intended as a companion to the book "Data-Driven Science and Engineering: Machine Learning, Dynamical Systems, and Control" by Steven L. Brunton and J. Nathan Kutz http://www.databookuw.com/
265 stars 102 forks source link

Missing function 'delsearch' in CH04 #3

Open cpraveen opened 2 years ago

cpraveen commented 2 years ago

The file delsearch.m is missing in directory CH04 which is needed in CH04_SEC02_1_GradientDescent.m

function mindel=delsearch(del,x,y,dfx,dfy,X,Y,F) 
x0=x-del*dfx;
y0=y-del*dfy;
mindel=interp2(X,Y,F,x0,y0);
cpraveen commented 2 years ago

called here https://github.com/dynamicslab/databook_matlab/blob/master/CH04/CH04_SEC02_1_GradientDescent.m#L116