MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Write a function to find the values of a design variable vector, *x*, that minimizes an unconstrained scalar objective function, *f*, given a function handle to *f* and its gradient, a starting guess, *x0*, a gradient tolerance, *TolGrad*, and a maximum number of iterations, *MaxIter*, using Fletcher-Reeves Conjugate Gradient Method.

22 correct solutions
44 incorrect solutions

Last solution submitted on Feb 19, 2015

2 Comments