MatLab HELP !!

edited April 2009 in Science & Tech
I have to write a function file STAT which inputs n numbers and outputs the following statistics:
a)The sum of the numbers
b)The sum of the squares of the numbers
c)The arithmetic mean
d)The mean
e)The median
f)The largest and smallest numbers

Not using the function in the programme (i.e mean, max, min ect.)

Someone please help me !! :respect:
Sign In or Register to comment.