Initial commit

This commit is contained in:
2025-10-10 17:29:33 +08:00
commit 49047b316d
47 changed files with 323 additions and 0 deletions

11
ctr.m Normal file
View File

@@ -0,0 +1,11 @@
clear;
load ctr.mat A
X = A(:,1);
[xed,xh]=sort(X);
[m,n]=size(A);
C = [];
for i = 1 : m
B = A(xh(m-i+1),1:n);
C = [C;B];
end
num2str([(1 : m)' C])