pass any input parameters into the method).</p><pre class="codeinput">ncg(@(x) example1(x,3), pi/4);
</pre><pre class="codeoutput"> Iter  FuncEvals       F(X)          ||G(X)||/N        
------ --------- ---------------- ----------------
     0         1       0.70710678       2.12132034
     1        14      -0.99998885       0.01416497
     2        16      -1.00000000       0.00000147
</pre><p><b>Case 2: Passing parameter-value pairs into a method.</b></p><p>Instead of passing a structure of input parame