function printTitle(str) % printTitle(str) % Prints the given string within a header section. disp('------------------------------------------------'); disp(str); disp('------------------------------------------------');