How to use the steepest descent method to solve a function.
39 views (last 30 days)
Show older comments
mandoo511 on 6 Apr 2015
Answered: seyed mohammad javad nikouei on 14 Jun 2021
I have an example but I still am not sure how to solve this problem. Please show me step by step on how to attack this. Thank you.
Vinod Sudheesh on 26 Jun 2015
Edited: Vinod Sudheesh on 26 Jun 2015
The below code snippet solves this problem using the "Gradient Descend Algorithm"
gf=@(x)([(50*x(1)-2) ; (40*x(1)-1)]);
x= x-0.01*(1/n) *gf(x);
Note that to solve this problem using the "Steepest Descend Algorithm", you will have to write additional logic for choosing the step size in every iteration.
Sarvjeet Singh on 28 Sep 2020
f=@ (x,y) a*(exp(bx))+c*x
how to solve
determine the general parameters for the non-linear fit using steepest descent method if the fit is given by for the data:
seyed mohammad javad nikouei on 14 Jun 2021
why solve in matlab by steepest descent?
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!