File size: 162 Bytes
1ba1a16 | 1 2 3 4 5 6 7 8 9 10 11 | clear
t = 45+50*rand(100,5);
P = fix(t);
[x,i]=max(P)
[y,j]=min(P)
A=mean(P)
d=std(P)
s=sum(P,2)
[X,m]=max(s)
[Y,n]=min(s)
[score,num]=sort(s,'descend') |
1ba1a16 | 1 2 3 4 5 6 7 8 9 10 11 | clear
t = 45+50*rand(100,5);
P = fix(t);
[x,i]=max(P)
[y,j]=min(P)
A=mean(P)
d=std(P)
s=sum(P,2)
[X,m]=max(s)
[Y,n]=min(s)
[score,num]=sort(s,'descend') |