Tag Info

New answers tagged

1

The following code solves the first question: \lstinputlisting[firstnumber=6]{{pics/met/binarysearch.m}} firstnumber defines the starting line number. The second question: Wrong order of the code. The following code is correct: \begin{figure}[htb] \centering \lstinputlisting[firstnumber=6]{pics/met/binarysearch.m} \caption[Matlab code for ...



Top 50 recent answers are included