% Running in serial and in parallel
a1 = example1_serial();
a2 = example1_parallel();

% Comparing results
if isequal(a1, a2)
    disp('The results are the same.')
end