Community Profile

photo

Zach Simmons


Last seen: ungefär 4 år ago Active since 2020

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


Trying to find the minimum of this function using steepest descent, unsure why I keep getting the wrong answer. (1.5,1) should be the optimal
%Steepest Descent clc x0 = [5 2]; k = 0; while k < 6 f = @(x1,x2) 5.*x1.^2+7.*x2.^2-5.*x1-10.*x1.*x2+x2; dfdx1 = ...

ungefär 4 år ago | 0 answers | 0

0

answers