Unit-10
Statistics
>> x=[2 64 43 7 87 9 1 65 21 5 6 3 2 76 4];
>> max(x)
ans =
87
>> min(x)
ans =
1
>> mean(x)
ans =
26.3333
>> mode(x)
ans =
2
>> median(x)
ans =
7
>> std(x)
ans =
31.3726
>> var(x)
ans =
984.2381
© 2019 Param's Magazine. All Rights Reserved. PARAMSMAGAZINE.com
Be the first to comment