 size(u(1, :)));
         u(end, :) = zeros(size(u(end, :)));
         u(:, end) = zeros(size(u(:, end)));
         u_t = u + A * u + u * B;
         if (any(id == slices_id))
             plotSlice_4_2_3(u_t, X_, Y_, dt, id);
         end
         u = u_t;
     end
 end</pre><h2>Code: Value of Slices<a name="8"></a></h2><pre class="language-matlab"><span class="keyword">function</span> plotSlice_4_2_3(u, X_, Y_, dt, id)
    figure; hold <span class="string">on</span>;
    title(sprintf(<span class="string"