Indentation length

IDLAYOUT-6
TitleIndentation shall be four spaces long.
PriorityStrongly recommended
DescriptionIndentation shall be four spaces long. This is the default setting in the MATLAB editor.
RationaleReadability

Avoid:

if x > 0
  if x < 2
    disp(x)
  end
end

Instead use:

if x > 0
    if x < 2
        disp(x)
    end
end