s="comment">%     obc_temp(i) = 18. + 2.*real(i-1)/nTimes;</span>
0162     <span class="comment">%     obc_salt(i) = 30. - 5.*real(i-1)/nTimes;</span>
0163     <span class="comment">% end</span>
0164 
0165     <span class="comment">% Create 3D array from three 1D arrays</span>
0166     <span class="comment">% temp = repmat(obc_temp, [nObc, nSiglay, 1]);</span>
0167     <span class="comment">% salt = repmat(obc_salt, [nObc, nSiglay, 1]);</span>
0168     <span class="keyword">for</span> i=1:nObc
0169         