A=[1,2,3,4,5] s=sum(A(1,:)); m=mean(A(1,:)); save testcodeOUTPUT s m A;