Function indentation

IDLAYOUT-2
TitleDo not indent functions on the root level of a file.
PriorityStrongly recommended
DescriptionOnly methods in a classdef file and nested functions shall be indented. This allows for shorter lines of code. You can set this as a preference in MATLAB.
RationaleReadability

Avoid:

function computeWeight(in)
    weight = 2 * in;
end

Instead use:

function computeWeight(in)
weight = 2 * in;
end