ters, pairs of parameters and values may be passed as well. In this case, all parameters not specified as input use their default values. Below is an example of specifying a parameter in this way.</p><pre class="codeinput">ncg(@(x) example1(x,3), pi/4,<span class="string">'Display'</span>,<span class="string">'final'</span>);
</pre><pre class="codeoutput"> Iter  FuncEvals       F(X)          ||G(X)||/N        
------ --------- ---------------- ----------------
     2        16      -1.00000000       0.00000