octave change display format code example
Example 1: octave print
disp(myValue);
Example 2: octave print many things in one line
disp(["There are ", num2str(A), " horses"])
disp(myValue);
disp(["There are ", num2str(A), " horses"])