If the gradient of
100*(y - x^2)^2 + (1 - x)^2
is,
[-400*(y - x^2)*x - 2*(1 - x); 200*(y - x^2)]
what would be the gradient of
(1 - x + a)^2 + 100*(y - b - (x-a)^2)^2;
MATLABoptimization
100*(y - x^2)^2 + (1 - x)^2
[-400*(y - x^2)*x - 2*(1 - x); 200*(y - x^2)]
(1 - x + a)^2 + 100*(y - b - (x-a)^2)^2;
Best Answer