Matlab Sum. Then the output must equal the input, but with sum (A')' a scala