function result = foo(a, b) % FOO % Calculates the sum of two numbers. % % FOO(a, b) % Returns the sum of a and b. result = a + b; end